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

Public 成员函数

FurnitureDesign GetDesign (int index)
FurnitureDesign FindMatchingDesign (FurnitureDesign design)
FurnitureDesign FindMatchingDesignChain (FurnitureDesign design)
FurnitureDesign TryAddDesign (FurnitureDesign design)
FurnitureDesign TryAddDesignChain (FurnitureDesign design, bool garbageCollectIfNeeded)
void ScanDesign (CellFace start, Vector3 direction, ComponentMiner componentMiner)
void SwitchToNextState (int x, int y, int z, bool playSound)
void GarbageCollectDesigns ()
FurnitureSet NewFurnitureSet (string name, string importedFrom)
void DeleteFurnitureSet (FurnitureSet furnitureSet)
void MoveFurnitureSet (FurnitureSet furnitureSet, int move)
void AddToFurnitureSet (FurnitureDesign design, FurnitureSet furnitureSet)
IEnumerable< FurnitureDesign > GetFurnitureSetDesigns (FurnitureSet furnitureSet)
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 OnBlockModified (int value, int oldValue, 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 bool OnInteract (TerrainRaycastResult raycastResult, ComponentMiner componentMiner)
override void Load (ValuesDictionary valuesDictionary)
override void Save (ValuesDictionary valuesDictionary)
void AddDesign (int index, FurnitureDesign design)
void AddTerrainFurniture (int value)
void RemoveTerrainFurniture (int value)
void GarbageCollectDesigns (ReadOnlyList< ScannedItemData > allExistingItems)
void AddParticleSystems (int value, int x, int y, int z)
void RemoveParticleSystems (int x, int y, int z)
Public 成员函数 继承自 Game.SubsystemBlockBehavior
virtual void OnChunkInitialized (TerrainChunk chunk)
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 (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 Dispose ()
virtual void Initialize (Project project, ValuesDictionary valuesDictionary)

静态 Public 成员函数

static List< FurnitureDesign > LoadFurnitureDesigns (SubsystemTerrain subsystemTerrain, ValuesDictionary valuesDictionary)
static void SaveFurnitureDesigns (ValuesDictionary valuesDictionary, ICollection< FurnitureDesign > designs)
static bool IsValueAllowed (int value)
static bool IsValueDisallowed (int value)

Public 属性

SubsystemAudio m_subsystemAudio
SubsystemSoundMaterials m_subsystemSoundMaterials
SubsystemItemsScanner m_subsystemItemsScanner
SubsystemGameInfo m_subsystemGameInfo
SubsystemPickables m_subsystemPickables
SubsystemParticles m_subsystemParticles
List< FurnitureSet > m_furnitureSets = []
FurnitureDesign[] m_furnitureDesigns = new FurnitureDesign[FurnitureDesign.maxDesign]
Dictionary< Point3, List< FireParticleSystem > > m_particleSystemsByCell = []

静态 Public 属性

const int MaxFurnitureSetNameLength = 64
static string fName = "SubsystemFurnitureBlockBehavior"

属性

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

额外继承的成员函数

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

详细描述

在文件 SubsystemFurnitureBlockBehavior.cs 第 7 行定义.

成员函数说明

◆ AddDesign()

void Game.SubsystemFurnitureBlockBehavior.AddDesign ( int index,
FurnitureDesign design )

在文件 SubsystemFurnitureBlockBehavior.cs 第 528 行定义.

这是这个函数的调用关系图:

◆ AddParticleSystems()

void Game.SubsystemFurnitureBlockBehavior.AddParticleSystems ( int value,
int x,
int y,
int z )

在文件 SubsystemFurnitureBlockBehavior.cs 第 605 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ AddTerrainFurniture()

void Game.SubsystemFurnitureBlockBehavior.AddTerrainFurniture ( int value)

在文件 SubsystemFurnitureBlockBehavior.cs 第 534 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ AddToFurnitureSet()

void Game.SubsystemFurnitureBlockBehavior.AddToFurnitureSet ( FurnitureDesign design,
FurnitureSet furnitureSet )

在文件 SubsystemFurnitureBlockBehavior.cs 第 385 行定义.

函数调用图:

◆ DeleteFurnitureSet()

void Game.SubsystemFurnitureBlockBehavior.DeleteFurnitureSet ( FurnitureSet furnitureSet)

在文件 SubsystemFurnitureBlockBehavior.cs 第 370 行定义.

函数调用图:

◆ FindMatchingDesign()

FurnitureDesign Game.SubsystemFurnitureBlockBehavior.FindMatchingDesign ( FurnitureDesign design)

在文件 SubsystemFurnitureBlockBehavior.cs 第 41 行定义.

这是这个函数的调用关系图:

◆ FindMatchingDesignChain()

FurnitureDesign Game.SubsystemFurnitureBlockBehavior.FindMatchingDesignChain ( FurnitureDesign design)

在文件 SubsystemFurnitureBlockBehavior.cs 第 51 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ GarbageCollectDesigns() [1/2]

void Game.SubsystemFurnitureBlockBehavior.GarbageCollectDesigns ( )

在文件 SubsystemFurnitureBlockBehavior.cs 第 352 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ GarbageCollectDesigns() [2/2]

void Game.SubsystemFurnitureBlockBehavior.GarbageCollectDesigns ( ReadOnlyList< ScannedItemData > allExistingItems)

在文件 SubsystemFurnitureBlockBehavior.cs 第 552 行定义.

函数调用图:

◆ GetDesign()

FurnitureDesign Game.SubsystemFurnitureBlockBehavior.GetDesign ( int index)

在文件 SubsystemFurnitureBlockBehavior.cs 第 33 行定义.

这是这个函数的调用关系图:

◆ GetFurnitureSetDesigns()

IEnumerable< FurnitureDesign > Game.SubsystemFurnitureBlockBehavior.GetFurnitureSetDesigns ( FurnitureSet furnitureSet)

在文件 SubsystemFurnitureBlockBehavior.cs 第 391 行定义.

这是这个函数的调用关系图:

◆ IsValueAllowed()

bool Game.SubsystemFurnitureBlockBehavior.IsValueAllowed ( int value)
static

在文件 SubsystemFurnitureBlockBehavior.cs 第 588 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ IsValueDisallowed()

bool Game.SubsystemFurnitureBlockBehavior.IsValueDisallowed ( int value)
static

在文件 SubsystemFurnitureBlockBehavior.cs 第 594 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Load()

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

重载 Game.SubsystemBlockBehavior .

在文件 SubsystemFurnitureBlockBehavior.cs 第 471 行定义.

函数调用图:

◆ LoadFurnitureDesigns()

List< FurnitureDesign > Game.SubsystemFurnitureBlockBehavior.LoadFurnitureDesigns ( SubsystemTerrain subsystemTerrain,
ValuesDictionary valuesDictionary )
static

在文件 SubsystemFurnitureBlockBehavior.cs 第 395 行定义.

这是这个函数的调用关系图:

◆ MoveFurnitureSet()

void Game.SubsystemFurnitureBlockBehavior.MoveFurnitureSet ( FurnitureSet furnitureSet,
int move )

在文件 SubsystemFurnitureBlockBehavior.cs 第 377 行定义.

◆ NewFurnitureSet()

FurnitureSet Game.SubsystemFurnitureBlockBehavior.NewFurnitureSet ( string name,
string importedFrom )

在文件 SubsystemFurnitureBlockBehavior.cs 第 356 行定义.

◆ OnBlockAdded()

override void Game.SubsystemFurnitureBlockBehavior.OnBlockAdded ( int value,
int oldValue,
int x,
int y,
int z )
virtual

重载 Game.SubsystemBlockBehavior .

在文件 SubsystemFurnitureBlockBehavior.cs 第 417 行定义.

函数调用图:

◆ OnBlockGenerated()

override void Game.SubsystemFurnitureBlockBehavior.OnBlockGenerated ( int value,
int x,
int y,
int z,
bool isLoaded )
virtual

重载 Game.SubsystemBlockBehavior .

在文件 SubsystemFurnitureBlockBehavior.cs 第 434 行定义.

函数调用图:

◆ OnBlockModified()

override void Game.SubsystemFurnitureBlockBehavior.OnBlockModified ( int value,
int oldValue,
int x,
int y,
int z )
virtual

重载 Game.SubsystemBlockBehavior .

在文件 SubsystemFurnitureBlockBehavior.cs 第 427 行定义.

函数调用图:

◆ OnBlockRemoved()

override void Game.SubsystemFurnitureBlockBehavior.OnBlockRemoved ( int value,
int newValue,
int x,
int y,
int z )
virtual

重载 Game.SubsystemBlockBehavior .

在文件 SubsystemFurnitureBlockBehavior.cs 第 422 行定义.

函数调用图:

◆ OnChunkDiscarding()

override void Game.SubsystemFurnitureBlockBehavior.OnChunkDiscarding ( TerrainChunk chunk)
virtual

重载 Game.SubsystemBlockBehavior .

在文件 SubsystemFurnitureBlockBehavior.cs 第 441 行定义.

函数调用图:

◆ OnInteract()

override bool Game.SubsystemFurnitureBlockBehavior.OnInteract ( TerrainRaycastResult raycastResult,
ComponentMiner componentMiner )
virtual

重载 Game.SubsystemBlockBehavior .

在文件 SubsystemFurnitureBlockBehavior.cs 第 456 行定义.

函数调用图:

◆ RemoveParticleSystems()

void Game.SubsystemFurnitureBlockBehavior.RemoveParticleSystems ( int x,
int y,
int z )

在文件 SubsystemFurnitureBlockBehavior.cs 第 634 行定义.

这是这个函数的调用关系图:

◆ RemoveTerrainFurniture()

void Game.SubsystemFurnitureBlockBehavior.RemoveTerrainFurniture ( int value)

在文件 SubsystemFurnitureBlockBehavior.cs 第 543 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Save()

override void Game.SubsystemFurnitureBlockBehavior.Save ( ValuesDictionary valuesDictionary)
virtual

重载 GameEntitySystem.Subsystem .

在文件 SubsystemFurnitureBlockBehavior.cs 第 503 行定义.

函数调用图:

◆ SaveFurnitureDesigns()

void Game.SubsystemFurnitureBlockBehavior.SaveFurnitureDesigns ( ValuesDictionary valuesDictionary,
ICollection< FurnitureDesign > designs )
static

在文件 SubsystemFurnitureBlockBehavior.cs 第 411 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ ScanDesign()

void Game.SubsystemFurnitureBlockBehavior.ScanDesign ( CellFace start,
Vector3 direction,
ComponentMiner componentMiner )

在文件 SubsystemFurnitureBlockBehavior.cs 第 111 行定义.

函数调用图:

◆ SwitchToNextState()

void Game.SubsystemFurnitureBlockBehavior.SwitchToNextState ( int x,
int y,
int z,
bool playSound )

在文件 SubsystemFurnitureBlockBehavior.cs 第 308 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ TryAddDesign()

FurnitureDesign Game.SubsystemFurnitureBlockBehavior.TryAddDesign ( FurnitureDesign design)

在文件 SubsystemFurnitureBlockBehavior.cs 第 60 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ TryAddDesignChain()

FurnitureDesign Game.SubsystemFurnitureBlockBehavior.TryAddDesignChain ( FurnitureDesign design,
bool garbageCollectIfNeeded )

在文件 SubsystemFurnitureBlockBehavior.cs 第 83 行定义.

函数调用图:
这是这个函数的调用关系图:

类成员变量说明

◆ fName

string Game.SubsystemFurnitureBlockBehavior.fName = "SubsystemFurnitureBlockBehavior"
static

在文件 SubsystemFurnitureBlockBehavior.cs 第 21 行定义.

◆ m_furnitureDesigns

FurnitureDesign [] Game.SubsystemFurnitureBlockBehavior.m_furnitureDesigns = new FurnitureDesign[FurnitureDesign.maxDesign]

在文件 SubsystemFurnitureBlockBehavior.cs 第 25 行定义.

◆ m_furnitureSets

List<FurnitureSet> Game.SubsystemFurnitureBlockBehavior.m_furnitureSets = []

在文件 SubsystemFurnitureBlockBehavior.cs 第 23 行定义.

◆ m_particleSystemsByCell

Dictionary<Point3, List<FireParticleSystem> > Game.SubsystemFurnitureBlockBehavior.m_particleSystemsByCell = []

在文件 SubsystemFurnitureBlockBehavior.cs 第 27 行定义.

◆ m_subsystemAudio

SubsystemAudio Game.SubsystemFurnitureBlockBehavior.m_subsystemAudio

在文件 SubsystemFurnitureBlockBehavior.cs 第 10 行定义.

◆ m_subsystemGameInfo

SubsystemGameInfo Game.SubsystemFurnitureBlockBehavior.m_subsystemGameInfo

在文件 SubsystemFurnitureBlockBehavior.cs 第 16 行定义.

◆ m_subsystemItemsScanner

SubsystemItemsScanner Game.SubsystemFurnitureBlockBehavior.m_subsystemItemsScanner

在文件 SubsystemFurnitureBlockBehavior.cs 第 14 行定义.

◆ m_subsystemParticles

SubsystemParticles Game.SubsystemFurnitureBlockBehavior.m_subsystemParticles

在文件 SubsystemFurnitureBlockBehavior.cs 第 20 行定义.

◆ m_subsystemPickables

SubsystemPickables Game.SubsystemFurnitureBlockBehavior.m_subsystemPickables

在文件 SubsystemFurnitureBlockBehavior.cs 第 18 行定义.

◆ m_subsystemSoundMaterials

SubsystemSoundMaterials Game.SubsystemFurnitureBlockBehavior.m_subsystemSoundMaterials

在文件 SubsystemFurnitureBlockBehavior.cs 第 12 行定义.

◆ MaxFurnitureSetNameLength

const int Game.SubsystemFurnitureBlockBehavior.MaxFurnitureSetNameLength = 64
static

在文件 SubsystemFurnitureBlockBehavior.cs 第 8 行定义.

属性说明

◆ FurnitureSets

ReadOnlyList<FurnitureSet> Game.SubsystemFurnitureBlockBehavior.FurnitureSets
get

在文件 SubsystemFurnitureBlockBehavior.cs 第 31 行定义.

◆ HandledBlocks

override int [] Game.SubsystemFurnitureBlockBehavior.HandledBlocks
get

在文件 SubsystemFurnitureBlockBehavior.cs 第 29 行定义.


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