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

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)
 
override void Load (ValuesDictionary valuesDictionary)
 
virtual void OnPickableGathered (Pickable pickable, ComponentPickableGatherer target, Vector3 distanceToTarget)
 

Public 属性

SubsystemTime m_subsystemTime
 
SubsystemProjectiles m_subsystemProjectiles
 
SubsystemAudio m_subsystemAudio
 
Random m_random = new()
 
Dictionary< ComponentMiner, double > m_aimStartTimes = []
 
ArrowBlock.ArrowType[] m_supportedArrowTypes
 

静态 Public 属性

static string fName = "SubsystemBowBlockBehavior"
 

属性

override int[] HandledBlocks [get]
 
- 属性 继承自 Game.SubsystemBlockBehavior
virtual int[] HandledBlocks [get]
 
SubsystemTerrain SubsystemTerrain [get, set]
 

Private 属性

int m_bowBlockIndex
 
int m_arrowBlockIndex
 

成员函数说明

◆ GetProcessInventoryItemCapacity()

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

重载 Game.SubsystemBlockBehavior .

函数调用图:

◆ Load()

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

◆ OnAim()

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

重载 Game.SubsystemBlockBehavior .

函数调用图:

◆ OnEditInventoryItem()

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

◆ ProcessInventoryItem()

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

重载 Game.SubsystemBlockBehavior .

函数调用图:

类成员变量说明

◆ fName

string Game.SubsystemBowBlockBehavior.fName = "SubsystemBowBlockBehavior"
static

◆ m_aimStartTimes

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

◆ m_arrowBlockIndex

int Game.SubsystemBowBlockBehavior.m_arrowBlockIndex
private

◆ m_bowBlockIndex

int Game.SubsystemBowBlockBehavior.m_bowBlockIndex
private

◆ m_random

Random Game.SubsystemBowBlockBehavior.m_random = new()

◆ m_subsystemAudio

SubsystemAudio Game.SubsystemBowBlockBehavior.m_subsystemAudio

◆ m_subsystemProjectiles

SubsystemProjectiles Game.SubsystemBowBlockBehavior.m_subsystemProjectiles

◆ m_subsystemTime

SubsystemTime Game.SubsystemBowBlockBehavior.m_subsystemTime

◆ m_supportedArrowTypes

ArrowBlock.ArrowType [] Game.SubsystemBowBlockBehavior.m_supportedArrowTypes
初始值:
= new ArrowBlock.ArrowType[6]
{
ArrowBlock.ArrowType.WoodenArrow,
ArrowBlock.ArrowType.StoneArrow,
ArrowBlock.ArrowType.CopperArrow,
ArrowBlock.ArrowType.IronArrow,
ArrowBlock.ArrowType.DiamondArrow,
ArrowBlock.ArrowType.FireArrow
}

属性说明

◆ HandledBlocks

override int [] Game.SubsystemBowBlockBehavior.HandledBlocks
get

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