|
Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
|


类 | |
| class | FireData |
Public 成员函数 | |
| bool | IsCellOnFire (int x, int y, int z) |
| bool | SetCellOnFire (int x, int y, int z, float fireExpandability) |
| virtual void | Update (float dt) |
| override void | OnNeighborBlockChanged (int x, int y, int z, int neighborX, int neighborY, int neighborZ) |
| override void | OnBlockAdded (int value, int oldValue, int x, int y, int z) |
| override void | OnBlockRemoved (int value, int newValue, int x, int y, int z) |
| override void | OnBlockGenerated (int value, int x, int y, int z, bool isLoaded) |
| override void | OnChunkDiscarding (TerrainChunk chunk) |
| override void | Load (ValuesDictionary valuesDictionary) |
| void | AddFire (int x, int y, int z, float expandability) |
| void | RemoveFire (int x, int y, int z) |
| void | InitializeFireDataTimes (FireData fireData) |
| void | InitializeFireDataTime (FireData fireData, int face) |
| void | QueueBurnAway (int x, int y, int z, float expandability) |
| Public 成员函数 继承自 Game.SubsystemBlockBehavior | |
| virtual void | OnChunkInitialized (TerrainChunk chunk) |
| 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 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) |
Public 属性 | |
| SubsystemTime | m_subsystemTime |
| SubsystemGameWidgets | m_subsystemViews |
| SubsystemParticles | m_subsystemParticles |
| SubsystemAudio | m_subsystemAudio |
| SubsystemAmbientSounds | m_subsystemAmbientSounds |
| Dictionary< Point3, float > | m_expansionProbabilities = [] |
| Dictionary< Point3, FireData > | m_fireData = [] |
| DynamicArray< Point3 > | m_firePointsCopy = [] |
| Dictionary< Point3, float > | m_toBurnAway = [] |
| Dictionary< Point3, float > | m_toExpand = [] |
| int | m_copyIndex |
| float | m_remainderToScan |
| double | m_lastScanTime |
| float | m_lastScanDuration |
| Random | m_random = new() |
| float | m_fireSoundVolume |
| float | m_fireSoundIntensity |
属性 | |
| UpdateOrder | UpdateOrder [get] |
| override int[] | HandledBlocks [get] |
| 属性 继承自 Game.SubsystemBlockBehavior | |
| virtual int[] | HandledBlocks [get] |
| SubsystemTerrain | SubsystemTerrain [get, set] |
| 属性 继承自 GameEntitySystem.Subsystem | |
| Project | Project [get] |
| ValuesDictionary | ValuesDictionary [get] |
| 属性 继承自 Game.IUpdateable | |
| float | FloatUpdateOrder [get] |
额外继承的成员函数 | |
| 包函数 继承自 GameEntitySystem.Subsystem | |
| void | DisposeInternal () |
在文件 SubsystemFireBlockBehavior.cs 第 5 行定义.
| void Game.SubsystemFireBlockBehavior.AddFire | ( | int | x, |
| int | y, | ||
| int | z, | ||
| float | expandability ) |
| void Game.SubsystemFireBlockBehavior.InitializeFireDataTime | ( | FireData | fireData, |
| int | face ) |
| void Game.SubsystemFireBlockBehavior.InitializeFireDataTimes | ( | FireData | fireData | ) |
| bool Game.SubsystemFireBlockBehavior.IsCellOnFire | ( | int | x, |
| int | y, | ||
| int | z ) |
|
virtual |
重载 Game.SubsystemBlockBehavior .
在文件 SubsystemFireBlockBehavior.cs 第 337 行定义.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
| void Game.SubsystemFireBlockBehavior.QueueBurnAway | ( | int | x, |
| int | y, | ||
| int | z, | ||
| float | expandability ) |
| void Game.SubsystemFireBlockBehavior.RemoveFire | ( | int | x, |
| int | y, | ||
| int | z ) |
| bool Game.SubsystemFireBlockBehavior.SetCellOnFire | ( | int | x, |
| int | y, | ||
| int | z, | ||
| float | fireExpandability ) |
|
virtual |
| int Game.SubsystemFireBlockBehavior.m_copyIndex |
在文件 SubsystemFireBlockBehavior.cs 第 42 行定义.
| Dictionary<Point3, float> Game.SubsystemFireBlockBehavior.m_expansionProbabilities = [] |
在文件 SubsystemFireBlockBehavior.cs 第 32 行定义.
在文件 SubsystemFireBlockBehavior.cs 第 34 行定义.
| DynamicArray<Point3> Game.SubsystemFireBlockBehavior.m_firePointsCopy = [] |
在文件 SubsystemFireBlockBehavior.cs 第 36 行定义.
| float Game.SubsystemFireBlockBehavior.m_fireSoundIntensity |
在文件 SubsystemFireBlockBehavior.cs 第 54 行定义.
| float Game.SubsystemFireBlockBehavior.m_fireSoundVolume |
在文件 SubsystemFireBlockBehavior.cs 第 52 行定义.
| float Game.SubsystemFireBlockBehavior.m_lastScanDuration |
在文件 SubsystemFireBlockBehavior.cs 第 48 行定义.
| double Game.SubsystemFireBlockBehavior.m_lastScanTime |
在文件 SubsystemFireBlockBehavior.cs 第 46 行定义.
| Random Game.SubsystemFireBlockBehavior.m_random = new() |
在文件 SubsystemFireBlockBehavior.cs 第 50 行定义.
| float Game.SubsystemFireBlockBehavior.m_remainderToScan |
在文件 SubsystemFireBlockBehavior.cs 第 44 行定义.
| SubsystemAmbientSounds Game.SubsystemFireBlockBehavior.m_subsystemAmbientSounds |
在文件 SubsystemFireBlockBehavior.cs 第 30 行定义.
| SubsystemAudio Game.SubsystemFireBlockBehavior.m_subsystemAudio |
在文件 SubsystemFireBlockBehavior.cs 第 28 行定义.
| SubsystemParticles Game.SubsystemFireBlockBehavior.m_subsystemParticles |
在文件 SubsystemFireBlockBehavior.cs 第 26 行定义.
| SubsystemTime Game.SubsystemFireBlockBehavior.m_subsystemTime |
在文件 SubsystemFireBlockBehavior.cs 第 22 行定义.
| SubsystemGameWidgets Game.SubsystemFireBlockBehavior.m_subsystemViews |
在文件 SubsystemFireBlockBehavior.cs 第 24 行定义.
| Dictionary<Point3, float> Game.SubsystemFireBlockBehavior.m_toBurnAway = [] |
在文件 SubsystemFireBlockBehavior.cs 第 38 行定义.
| Dictionary<Point3, float> Game.SubsystemFireBlockBehavior.m_toExpand = [] |
在文件 SubsystemFireBlockBehavior.cs 第 40 行定义.
|
get |
在文件 SubsystemFireBlockBehavior.cs 第 58 行定义.
|
get |
实现了 Game.IUpdateable.
在文件 SubsystemFireBlockBehavior.cs 第 56 行定义.