My Project v1
Project
载入中...
搜索中...
未找到
Game.SubsystemBottomSuckerBlockBehavior
类 Game.SubsystemBottomSuckerBlockBehavior 继承关系图:
Game.SubsystemBottomSuckerBlockBehavior 的协作图:

Public 成员函数

override void Load (ValuesDictionary valuesDictionary)
 
override void OnNeighborBlockChanged (int x, int y, int z, int neighborX, int neighborY, int neighborZ)
 
override void OnCollide (CellFace cellFace, float velocity, ComponentBody componentBody)
 
virtual bool IsSupport (int value, int face, int bottomSuckerBlockValue=226)
 
- Public 成员函数 继承自 Game.SubsystemInWaterBlockBehavior
override void OnItemHarvested (int x, int y, int z, int blockValue, ref BlockDropValue dropValue, ref int newBlockValue)
 
- Public 成员函数 继承自 Game.SubsystemWaterBlockBehavior
 SubsystemWaterBlockBehavior ()
 
void Update (float dt)
 
override bool OnFluidInteract (int interactValue, int x, int y, int z, int fluidValue)
 
override void OnItemHarvested (int x, int y, int z, int blockValue, ref BlockDropValue dropValue, ref int newBlockValue)
 
- Public 成员函数 继承自 Game.SubsystemFluidBlockBehavior
 SubsystemFluidBlockBehavior (FluidBlock fluidBlock, bool generateSources)
 
void UpdateIsTop (int value, int x, int y, int z)
 
override void OnBlockAdded (int value, int oldValue, int x, int y, int z)
 
override void OnBlockModified (int value, int oldValue, int x, int y, int z)
 
override void OnNeighborBlockChanged (int x, int y, int z, int neighborX, int neighborY, int neighborZ)
 
float? GetSurfaceHeight (int x, int y, int z, out FluidBlock surfaceFluidBlock)
 
float? GetSurfaceHeight (int x, int y, int z)
 
Vector2? CalculateFlowSpeed (int x, int y, int z, out FluidBlock surfaceBlock, out float? surfaceHeight)
 
Vector2? CalculateFlowSpeed (int x, int y, int z)
 
override void Load (ValuesDictionary valuesDictionary)
 
void SpreadFluid ()
 
float? CalculateDistanceToFluid (Vector3 p, int radius, bool flowingFluidOnly)
 
void Set (int x, int y, int z, int value)
 
void FlowTo (int x, int y, int z, int level)
 
int LevelAtNearestFall (int x, int y, int z, int level, Dictionary< Point3, int > levels)
 
- Public 成员函数 继承自 Game.SubsystemBlockBehavior
virtual void OnChunkInitialized (TerrainChunk chunk)
 
virtual void OnChunkDiscarding (TerrainChunk chunk)
 
virtual void OnBlockGenerated (int value, int x, int y, int z, bool isLoaded)
 
virtual void OnBlockRemoved (int value, int newValue, int x, int y, int z)
 
virtual void OnBlockStartMoving (int value, int newValue, int x, int y, int z, MovingBlock movingBlock)
 
virtual void OnBlockStopMoving (int value, int oldValue, int x, int y, int z, MovingBlock movingBlock)
 
virtual bool OnUse (Ray3 ray, ComponentMiner componentMiner)
 
virtual bool OnInteract (TerrainRaycastResult raycastResult, ComponentMiner componentMiner)
 
virtual bool OnInteract (MovingBlocksRaycastResult movingBlocksRaycastResult, ComponentMiner componentMiner)
 
virtual bool OnAim (Ray3 aim, ComponentMiner componentMiner, AimState state)
 
virtual bool OnEditBlock (int x, int y, int z, int value, ComponentPlayer componentPlayer)
 
virtual bool OnEditInventoryItem (IInventory inventory, int slotIndex, ComponentPlayer componentPlayer)
 
virtual void OnItemPlaced (int x, int y, int z, ref BlockPlacementData placementData, int itemValue)
 
virtual void OnExplosion (int value, int x, int y, int z, float damage)
 
virtual void OnFiredAsProjectile (Projectile projectile)
 
virtual bool OnHitAsProjectile (CellFace? cellFace, ComponentBody componentBody, WorldItem worldItem)
 
virtual void OnHitByProjectile (CellFace cellFace, WorldItem worldItem)
 
virtual void OnHitByProjectile (MovingBlock movingBlock, WorldItem worldItem)
 
virtual int GetProcessInventoryItemCapacity (IInventory inventory, int slotIndex, int value)
 
virtual void ProcessInventoryItem (IInventory inventory, int slotIndex, int value, int count, int processCount, out int processedValue, out int processedCount)
 
override void Load (ValuesDictionary valuesDictionary)
 
virtual void OnPickableGathered (Pickable pickable, ComponentPickableGatherer target, Vector3 distanceToTarget)
 
- Public 成员函数 继承自 Game.IUpdateable

Public 属性

int m_seaUrchinBlockValue
 
- Public 属性 继承自 Game.SubsystemWaterBlockBehavior
Random m_random = new()
 
float m_soundVolume
 
- Public 属性 继承自 Game.SubsystemFluidBlockBehavior
FluidBlock m_fluidBlock
 
Dictionary< Point3, bool > m_toUpdate = []
 
Dictionary< Point3, int > m_toSet = []
 
Dictionary< Point3, int > m_visited = []
 
Dictionary< Point3, Vector2 > m_fluidRandomFlowDirections = []
 
bool m_generateSources
 

属性

override int[] HandledBlocks [get]
 
- 属性 继承自 Game.SubsystemInWaterBlockBehavior
override int[] HandledBlocks [get]
 
- 属性 继承自 Game.SubsystemWaterBlockBehavior
override int[] HandledBlocks [get]
 
UpdateOrder UpdateOrder [get]
 
- 属性 继承自 Game.SubsystemFluidBlockBehavior
SubsystemTime SubsystemTime [get, set]
 
SubsystemAudio SubsystemAudio [get, set]
 
SubsystemAmbientSounds SubsystemAmbientSounds [get, set]
 
- 属性 继承自 Game.SubsystemBlockBehavior
virtual int[] HandledBlocks [get]
 
SubsystemTerrain SubsystemTerrain [get, set]
 
- 属性 继承自 Game.IUpdateable
float FloatUpdateOrder [get]
 

额外继承的成员函数

- 静态 Public 属性 继承自 Game.SubsystemFluidBlockBehavior
static Point2[] m_sideNeighbors
 

成员函数说明

◆ IsSupport()

virtual bool Game.SubsystemBottomSuckerBlockBehavior.IsSupport ( int value,
int face,
int bottomSuckerBlockValue = 226 )
virtual
函数调用图:
这是这个函数的调用关系图:

◆ Load()

override void Game.SubsystemBottomSuckerBlockBehavior.Load ( ValuesDictionary valuesDictionary)
函数调用图:

◆ OnCollide()

override void Game.SubsystemBottomSuckerBlockBehavior.OnCollide ( CellFace cellFace,
float velocity,
ComponentBody componentBody )
virtual

重载 Game.SubsystemBlockBehavior .

函数调用图:

◆ OnNeighborBlockChanged()

override void Game.SubsystemBottomSuckerBlockBehavior.OnNeighborBlockChanged ( int x,
int y,
int z,
int neighborX,
int neighborY,
int neighborZ )
virtual

重载 Game.SubsystemBlockBehavior .

函数调用图:

类成员变量说明

◆ m_seaUrchinBlockValue

int Game.SubsystemBottomSuckerBlockBehavior.m_seaUrchinBlockValue

属性说明

◆ HandledBlocks

override int [] Game.SubsystemBottomSuckerBlockBehavior.HandledBlocks
get

该类的文档由以下文件生成: