Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Game.SubsystemMusketBlockBehavior
类 Game.SubsystemMusketBlockBehavior 继承关系图:
Game.SubsystemMusketBlockBehavior 的协作图:

Public 成员函数

override bool OnEditInventoryItem (IInventory inventory, int slotIndex, ComponentPlayer componentPlayer)
override bool OnAim (Ray3 aim, ComponentMiner componentMiner, AimState state)
override int GetProcessInventoryItemCapacity (IInventory inventory, int slotIndex, int value)
override void ProcessInventoryItem (IInventory inventory, int slotIndex, int value, int count, int processCount, out int processedValue, out int processedCount)
override void Load (ValuesDictionary valuesDictionary)
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 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 OnEditBlock (int x, int y, int z, int value, 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 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 属性

SubsystemTerrain m_subsystemTerrain
SubsystemTime m_subsystemTime
SubsystemProjectiles m_subsystemProjectiles
SubsystemParticles m_subsystemParticles
SubsystemAudio m_subsystemAudio
SubsystemNoise m_subsystemNoise
Random m_random = new()
Dictionary< ComponentMiner, double > m_aimStartTimes = []
int m_BulletBlockIndex
int m_MusketBlockIndex

静态 Public 属性

static string fName = "SubsystemMusketBlockBehavior"

属性

override int[] HandledBlocks [get]
属性 继承自 Game.SubsystemBlockBehavior
virtual int[] HandledBlocks [get]
SubsystemTerrain SubsystemTerrain [get, set]
属性 继承自 GameEntitySystem.Subsystem
Project Project [get]
ValuesDictionary ValuesDictionary [get]

额外继承的成员函数

包函数 继承自 GameEntitySystem.Subsystem
void DisposeInternal ()

详细描述

在文件 SubsystemMusketBlockBehavior.cs5 行定义.

成员函数说明

◆ GetProcessInventoryItemCapacity()

override int Game.SubsystemMusketBlockBehavior.GetProcessInventoryItemCapacity ( IInventory inventory,
int slotIndex,
int value )
virtual

重载 Game.SubsystemBlockBehavior .

在文件 SubsystemMusketBlockBehavior.cs233 行定义.

函数调用图:

◆ Load()

override void Game.SubsystemMusketBlockBehavior.Load ( ValuesDictionary valuesDictionary)
virtual

重载 Game.SubsystemBlockBehavior .

在文件 SubsystemMusketBlockBehavior.cs291 行定义.

函数调用图:

◆ OnAim()

override bool Game.SubsystemMusketBlockBehavior.OnAim ( Ray3 aim,
ComponentMiner componentMiner,
AimState state )
virtual

重载 Game.SubsystemBlockBehavior .

在文件 SubsystemMusketBlockBehavior.cs34 行定义.

函数调用图:

◆ OnEditInventoryItem()

override bool Game.SubsystemMusketBlockBehavior.OnEditInventoryItem ( IInventory inventory,
int slotIndex,
ComponentPlayer componentPlayer )
virtual

◆ ProcessInventoryItem()

override void Game.SubsystemMusketBlockBehavior.ProcessInventoryItem ( IInventory inventory,
int slotIndex,
int value,
int count,
int processCount,
out int processedValue,
out int processedCount )
virtual

重载 Game.SubsystemBlockBehavior .

在文件 SubsystemMusketBlockBehavior.cs251 行定义.

函数调用图:

类成员变量说明

◆ fName

string Game.SubsystemMusketBlockBehavior.fName = "SubsystemMusketBlockBehavior"
static

在文件 SubsystemMusketBlockBehavior.cs17 行定义.

◆ m_aimStartTimes

Dictionary<ComponentMiner, double> Game.SubsystemMusketBlockBehavior.m_aimStartTimes = []

在文件 SubsystemMusketBlockBehavior.cs20 行定义.

◆ m_BulletBlockIndex

int Game.SubsystemMusketBlockBehavior.m_BulletBlockIndex

在文件 SubsystemMusketBlockBehavior.cs22 行定义.

◆ m_MusketBlockIndex

int Game.SubsystemMusketBlockBehavior.m_MusketBlockIndex

在文件 SubsystemMusketBlockBehavior.cs24 行定义.

◆ m_random

Random Game.SubsystemMusketBlockBehavior.m_random = new()

在文件 SubsystemMusketBlockBehavior.cs18 行定义.

◆ m_subsystemAudio

SubsystemAudio Game.SubsystemMusketBlockBehavior.m_subsystemAudio

在文件 SubsystemMusketBlockBehavior.cs14 行定义.

◆ m_subsystemNoise

SubsystemNoise Game.SubsystemMusketBlockBehavior.m_subsystemNoise

在文件 SubsystemMusketBlockBehavior.cs16 行定义.

◆ m_subsystemParticles

SubsystemParticles Game.SubsystemMusketBlockBehavior.m_subsystemParticles

在文件 SubsystemMusketBlockBehavior.cs12 行定义.

◆ m_subsystemProjectiles

SubsystemProjectiles Game.SubsystemMusketBlockBehavior.m_subsystemProjectiles

在文件 SubsystemMusketBlockBehavior.cs10 行定义.

◆ m_subsystemTerrain

SubsystemTerrain Game.SubsystemMusketBlockBehavior.m_subsystemTerrain

在文件 SubsystemMusketBlockBehavior.cs6 行定义.

◆ m_subsystemTime

SubsystemTime Game.SubsystemMusketBlockBehavior.m_subsystemTime

在文件 SubsystemMusketBlockBehavior.cs8 行定义.

属性说明

◆ HandledBlocks

override int [] Game.SubsystemMusketBlockBehavior.HandledBlocks
get

在文件 SubsystemMusketBlockBehavior.cs25 行定义.


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