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

Public 成员函数

 WireDomainElectricElement (SubsystemElectricity subsystemElectricity, IEnumerable< CellFace > cellFaces)
override float GetOutputVoltage (int face)
override bool Simulate ()
override void OnNeighborBlockChanged (CellFace cellFace, int neighborX, int neighborY, int neighborZ)
Public 成员函数 继承自 Game.ElectricElement
 ElectricElement (SubsystemElectricity subsystemElectricity, IEnumerable< CellFace > cellFaces)
 ElectricElement (SubsystemElectricity subsystemElectricity, CellFace cellFace)
virtual void OnAdded ()
virtual void OnRemoved ()
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 属性

float m_voltage

额外继承的成员函数

静态 Public 成员函数 继承自 Game.ElectricElement
static bool IsSignalHigh (float voltage)
属性 继承自 Game.ElectricElement
SubsystemElectricity SubsystemElectricity [get, set]
ReadOnlyList< CellFaceCellFaces [get, set]
List< ElectricConnectionConnections [get, set]

详细描述

在文件 WireDomainElectricElement.cs4 行定义.

构造及析构函数说明

◆ WireDomainElectricElement()

Game.WireDomainElectricElement.WireDomainElectricElement ( SubsystemElectricity subsystemElectricity,
IEnumerable< CellFace > cellFaces )

在文件 WireDomainElectricElement.cs7 行定义.

成员函数说明

◆ GetOutputVoltage()

override float Game.WireDomainElectricElement.GetOutputVoltage ( int face)
virtual

重载 Game.ElectricElement .

在文件 WireDomainElectricElement.cs12 行定义.

◆ OnNeighborBlockChanged()

override void Game.WireDomainElectricElement.OnNeighborBlockChanged ( CellFace cellFace,
int neighborX,
int neighborY,
int neighborZ )
virtual

重载 Game.ElectricElement .

在文件 WireDomainElectricElement.cs27 行定义.

函数调用图:

◆ Simulate()

override bool Game.WireDomainElectricElement.Simulate ( )
virtual

重载 Game.ElectricElement .

在文件 WireDomainElectricElement.cs14 行定义.

函数调用图:

类成员变量说明

◆ m_voltage

float Game.WireDomainElectricElement.m_voltage

在文件 WireDomainElectricElement.cs5 行定义.


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