|
Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
|


类 | |
| struct | LeafParticles |
Public 成员函数 | |
| void | CreateFallenLeaves (Point3 p, bool applyImmediately) |
| override void | OnBlockGenerated (int value, int x, int y, int z, bool isLoaded) |
| override void | OnPoll (int value, int x, int y, int z, int pollPass) |
| override void | Load (ValuesDictionary valuesDictionary) |
| Public 成员函数 继承自 Game.SubsystemPollableBlockBehavior | |
| void | OnPoll (int value, int x, int y, int z, int pollPass) |
| Public 成员函数 继承自 Game.SubsystemBlockBehavior | |
| virtual void | OnChunkInitialized (TerrainChunk chunk) |
| virtual void | OnChunkDiscarding (TerrainChunk chunk) |
| virtual void | OnBlockAdded (int value, int oldValue, int x, int y, int z) |
| virtual void | OnBlockRemoved (int value, int newValue, int x, int y, int z) |
| virtual void | OnBlockModified (int value, int oldValue, 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 void | OnNeighborBlockChanged (int x, int y, int z, int neighborX, int neighborY, int neighborZ) |
| 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 | OnItemHarvested (int x, int y, int z, int blockValue, ref BlockDropValue dropValue, ref int newBlockValue) |
| virtual void | OnCollide (CellFace cellFace, float velocity, ComponentBody componentBody) |
| 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) |
| virtual void | OnPickableGathered (Pickable pickable, ComponentPickableGatherer target, Vector3 distanceToTarget) |
| Public 成员函数 继承自 GameEntitySystem.Subsystem | |
| virtual void | OnEntityAdded (Entity entity) |
| virtual void | OnEntityRemoved (Entity entity) |
| virtual void | Save (ValuesDictionary valuesDictionary) |
| virtual void | Dispose () |
| virtual void | Initialize (Project project, ValuesDictionary valuesDictionary) |
属性 | |
| override int[] | HandledBlocks [get] |
| UpdateOrder IUpdateable. | UpdateOrder [get] |
| 属性 继承自 Game.SubsystemBlockBehavior | |
| virtual int[] | HandledBlocks [get] |
| SubsystemTerrain | SubsystemTerrain [get, set] |
| 属性 继承自 GameEntitySystem.Subsystem | |
| Project | Project [get] |
| ValuesDictionary | ValuesDictionary [get] |
| 属性 继承自 Game.IUpdateable | |
| float | FloatUpdateOrder [get] |
Private 成员函数 | |
| void IUpdateable. | Update (float dt) |
| void | UpdateTimeOfYear (int value, int x, int y, int z, bool applyImmediately) |
| void | QueueLeafParticles (int value, int x, int y, int z) |
Private 属性 | |
| Random | m_random = new() |
| DynamicArray< LeafParticles > | m_leafParticles = [] |
| DynamicArray< LeafParticles > | m_tmpLeafParticles = [] |
额外继承的成员函数 | |
| 包函数 继承自 GameEntitySystem.Subsystem | |
| void | DisposeInternal () |
在文件 SubsystemDeciduousLeavesBlockBehavior.cs 第 5 行定义.
| void Game.SubsystemDeciduousLeavesBlockBehavior.CreateFallenLeaves | ( | Point3 | p, |
| bool | applyImmediately ) |
|
virtual |
重载 Game.SubsystemBlockBehavior .
在文件 SubsystemDeciduousLeavesBlockBehavior.cs 第 66 行定义.
|
virtual |
| override void Game.SubsystemDeciduousLeavesBlockBehavior.OnPoll | ( | int | value, |
| int | x, | ||
| int | y, | ||
| int | z, | ||
| int | pollPass ) |
|
private |
|
private |
|
private |
|
private |
在文件 SubsystemDeciduousLeavesBlockBehavior.cs 第 28 行定义.
|
private |
在文件 SubsystemDeciduousLeavesBlockBehavior.cs 第 26 行定义.
| SubsystemCellChangeQueue Game.SubsystemDeciduousLeavesBlockBehavior.m_subsystemCellChangeQueue |
在文件 SubsystemDeciduousLeavesBlockBehavior.cs 第 24 行定义.
| SubsystemGameInfo Game.SubsystemDeciduousLeavesBlockBehavior.m_subsystemGameInfo |
在文件 SubsystemDeciduousLeavesBlockBehavior.cs 第 12 行定义.
| SubsystemGameWidgets Game.SubsystemDeciduousLeavesBlockBehavior.m_subsystemGameWidgets |
在文件 SubsystemDeciduousLeavesBlockBehavior.cs 第 20 行定义.
| SubsystemParticles Game.SubsystemDeciduousLeavesBlockBehavior.m_subsystemParticles |
在文件 SubsystemDeciduousLeavesBlockBehavior.cs 第 22 行定义.
| SubsystemSeasons Game.SubsystemDeciduousLeavesBlockBehavior.m_subsystemSeasons |
在文件 SubsystemDeciduousLeavesBlockBehavior.cs 第 14 行定义.
| SubsystemTerrain Game.SubsystemDeciduousLeavesBlockBehavior.m_subsystemTerrain |
在文件 SubsystemDeciduousLeavesBlockBehavior.cs 第 16 行定义.
| SubsystemTime Game.SubsystemDeciduousLeavesBlockBehavior.m_subsystemTime |
在文件 SubsystemDeciduousLeavesBlockBehavior.cs 第 18 行定义.
|
private |
在文件 SubsystemDeciduousLeavesBlockBehavior.cs 第 30 行定义.
|
get |
在文件 SubsystemDeciduousLeavesBlockBehavior.cs 第 32 行定义.
|
getprivate |
实现了 Game.IUpdateable.
在文件 SubsystemDeciduousLeavesBlockBehavior.cs 第 34 行定义.