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

Public 成员函数

FourLedElectricElement(SubsystemElectricity subsystemElectricity, CellFace cellFace) override void OnAdded ()
override void OnRemoved ()
override bool Simulate ()
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 float GetOutputVoltage (int face)
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 属性

SubsystemGlow m_subsystemGlow
float m_voltage
Color m_color
GlowPoint[] m_glowPoints = new GlowPoint[4]

额外继承的成员函数

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

详细描述

在文件 FourLedElectricElement.cs4 行定义.

成员函数说明

◆ OnAdded()

FourLedElectricElement(SubsystemElectricity subsystemElectricity, CellFace cellFace) override void Game.FourLedElectricElement.OnAdded ( )
virtual

重载 Game.ElectricElement .

在文件 FourLedElectricElement.cs16 行定义.

函数调用图:

◆ OnRemoved()

override void Game.FourLedElectricElement.OnRemoved ( )
virtual

重载 Game.ElectricElement .

在文件 FourLedElectricElement.cs41 行定义.

◆ Simulate()

override bool Game.FourLedElectricElement.Simulate ( )
virtual

重载 Game.ElectricElement .

在文件 FourLedElectricElement.cs47 行定义.

函数调用图:

类成员变量说明

◆ m_color

Color Game.FourLedElectricElement.m_color

在文件 FourLedElectricElement.cs9 行定义.

◆ m_glowPoints

GlowPoint [] Game.FourLedElectricElement.m_glowPoints = new GlowPoint[4]

在文件 FourLedElectricElement.cs11 行定义.

◆ m_subsystemGlow

SubsystemGlow Game.FourLedElectricElement.m_subsystemGlow

在文件 FourLedElectricElement.cs5 行定义.

◆ m_voltage

float Game.FourLedElectricElement.m_voltage

在文件 FourLedElectricElement.cs7 行定义.


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