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

Public 成员函数

 FurnitureElectricElement (SubsystemElectricity subsystemElectricity, Point3 point)
Public 成员函数 继承自 Game.ElectricElement
 ElectricElement (SubsystemElectricity subsystemElectricity, IEnumerable< CellFace > cellFaces)
 ElectricElement (SubsystemElectricity subsystemElectricity, CellFace cellFace)
virtual float GetOutputVoltage (int face)
virtual bool Simulate ()
virtual void OnAdded ()
virtual void OnRemoved ()
virtual void OnNeighborBlockChanged (CellFace cellFace, int neighborX, int neighborY, int neighborZ)
virtual bool OnInteract (TerrainRaycastResult raycastResult, ComponentMiner componentMiner)
virtual void OnCollide (CellFace cellFace, float velocity, ComponentBody componentBody)
virtual void OnHitByProjectile (CellFace cellFace, WorldItem worldItem)
virtual void OnConnectionsChanged ()
int CalculateHighInputsCount ()

静态 Public 成员函数

static IEnumerable< CellFaceGetMountingCellFaces (SubsystemElectricity subsystemElectricity, Point3 point)
静态 Public 成员函数 继承自 Game.ElectricElement
static bool IsSignalHigh (float voltage)

额外继承的成员函数

属性 继承自 Game.ElectricElement
SubsystemElectricity SubsystemElectricity [get, set]
ReadOnlyList< CellFaceCellFaces [get, set]
List< ElectricConnectionConnections [get, set]

详细描述

在文件 FurnitureElectricElement.cs4 行定义.

构造及析构函数说明

◆ FurnitureElectricElement()

Game.FurnitureElectricElement.FurnitureElectricElement ( SubsystemElectricity subsystemElectricity,
Point3 point )

在文件 FurnitureElectricElement.cs5 行定义.

函数调用图:

成员函数说明

◆ GetMountingCellFaces()

IEnumerable< CellFace > Game.FurnitureElectricElement.GetMountingCellFaces ( SubsystemElectricity subsystemElectricity,
Point3 point )
static

在文件 FurnitureElectricElement.cs10 行定义.

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

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