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

Public 成员函数

 CounterElectricElement (SubsystemElectricity subsystemElectricity, CellFace cellFace)
override float GetOutputVoltage (int face)
override bool Simulate ()
Public 成员函数 继承自 Game.RotateableElectricElement
 RotateableElectricElement (SubsystemElectricity subsystemElectricity, CellFace cellFace)
override bool OnInteract (TerrainRaycastResult raycastResult, ComponentMiner componentMiner)
Public 成员函数 继承自 Game.MountedElectricElement
 MountedElectricElement (SubsystemElectricity subsystemElectricity, CellFace cellFace)
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 void OnCollide (CellFace cellFace, float velocity, ComponentBody componentBody)
virtual void OnHitByProjectile (CellFace cellFace, WorldItem worldItem)
virtual void OnConnectionsChanged ()
int CalculateHighInputsCount ()

Public 属性

bool m_plusAllowed = true
bool m_minusAllowed = true
bool m_resetAllowed = true
int m_counter
bool m_overflow

额外继承的成员函数

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

详细描述

在文件 CounterElectricElement.cs2 行定义.

构造及析构函数说明

◆ CounterElectricElement()

Game.CounterElectricElement.CounterElectricElement ( SubsystemElectricity subsystemElectricity,
CellFace cellFace )

在文件 CounterElectricElement.cs13 行定义.

函数调用图:

成员函数说明

◆ GetOutputVoltage()

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

重载 Game.ElectricElement .

在文件 CounterElectricElement.cs21 行定义.

函数调用图:

◆ Simulate()

override bool Game.CounterElectricElement.Simulate ( )
virtual

重载 Game.ElectricElement .

在文件 CounterElectricElement.cs34 行定义.

函数调用图:

类成员变量说明

◆ m_counter

int Game.CounterElectricElement.m_counter

在文件 CounterElectricElement.cs9 行定义.

◆ m_minusAllowed

bool Game.CounterElectricElement.m_minusAllowed = true

在文件 CounterElectricElement.cs5 行定义.

◆ m_overflow

bool Game.CounterElectricElement.m_overflow

在文件 CounterElectricElement.cs11 行定义.

◆ m_plusAllowed

bool Game.CounterElectricElement.m_plusAllowed = true

在文件 CounterElectricElement.cs3 行定义.

◆ m_resetAllowed

bool Game.CounterElectricElement.m_resetAllowed = true

在文件 CounterElectricElement.cs7 行定义.


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