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

Public 成员函数

 DelayGateElectricElement (SubsystemElectricity subsystemElectricity, CellFace cellFace)
 
- Public 成员函数 继承自 Game.BaseDelayGateElectricElement
 BaseDelayGateElectricElement (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 成员函数

static void CountDelayPredecessors (DelayGateElectricElement delayGate, ref int count)
 
- 静态 Public 成员函数 继承自 Game.ElectricElement
static bool IsSignalHigh (float voltage)
 

Public 属性

int? m_delaySteps
 
int m_lastDelayCalculationStep
 
- Public 属性 继承自 Game.BaseDelayGateElectricElement
float m_voltage
 
float m_lastStoredVoltage
 
Dictionary< int, float > m_voltagesHistory = []
 

静态 Public 属性

static int[] m_delaysByPredecessorsCount
 

属性

override int DelaySteps [get]
 
- 属性 继承自 Game.BaseDelayGateElectricElement
int DelaySteps [get]
 
- 属性 继承自 Game.RotateableElectricElement
int Rotation [get, set]
 
- 属性 继承自 Game.ElectricElement
SubsystemElectricity SubsystemElectricity [get, set]
 
ReadOnlyList< CellFaceCellFaces [get, set]
 
List< ElectricConnectionConnections [get, set]
 

构造及析构函数说明

◆ DelayGateElectricElement()

Game.DelayGateElectricElement.DelayGateElectricElement ( SubsystemElectricity subsystemElectricity,
CellFace cellFace )
这是这个函数的调用关系图:

成员函数说明

◆ CountDelayPredecessors()

static void Game.DelayGateElectricElement.CountDelayPredecessors ( DelayGateElectricElement delayGate,
ref int count )
static
函数调用图:
这是这个函数的调用关系图:

类成员变量说明

◆ m_delaysByPredecessorsCount

int [] Game.DelayGateElectricElement.m_delaysByPredecessorsCount
static
初始值:
= new int[3]
{
20,
80,
400
}

◆ m_delaySteps

int? Game.DelayGateElectricElement.m_delaySteps

◆ m_lastDelayCalculationStep

int Game.DelayGateElectricElement.m_lastDelayCalculationStep

属性说明

◆ DelaySteps

override int Game.DelayGateElectricElement.DelaySteps
get

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