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

Public 成员函数

 SRLatchElectricElement (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_setAllowed = true
 
bool m_resetAllowed = true
 
bool m_clockAllowed = true
 
float m_voltage
 

额外继承的成员函数

- 静态 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]
 

构造及析构函数说明

◆ SRLatchElectricElement()

Game.SRLatchElectricElement.SRLatchElectricElement ( SubsystemElectricity subsystemElectricity,
CellFace cellFace )
函数调用图:

成员函数说明

◆ GetOutputVoltage()

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

◆ Simulate()

override bool Game.SRLatchElectricElement.Simulate ( )
virtual

重载 Game.ElectricElement .

函数调用图:

类成员变量说明

◆ m_clockAllowed

bool Game.SRLatchElectricElement.m_clockAllowed = true

◆ m_resetAllowed

bool Game.SRLatchElectricElement.m_resetAllowed = true

◆ m_setAllowed

bool Game.SRLatchElectricElement.m_setAllowed = true

◆ m_voltage

float Game.SRLatchElectricElement.m_voltage

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