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

Public 成员函数

 ButtonFurnitureElectricElement (SubsystemElectricity subsystemElectricity, Point3 point)
 
void Press ()
 
override float GetOutputVoltage (int face)
 
override bool Simulate ()
 
override bool OnInteract (TerrainRaycastResult raycastResult, ComponentMiner componentMiner)
 
override void OnHitByProjectile (CellFace cellFace, WorldItem worldItem)
 
- Public 成员函数 继承自 Game.FurnitureElectricElement
 FurnitureElectricElement (SubsystemElectricity subsystemElectricity, Point3 point)
 
- Public 成员函数 继承自 Game.ElectricElement
 ElectricElement (SubsystemElectricity subsystemElectricity, IEnumerable< CellFace > cellFaces)
 
 ElectricElement (SubsystemElectricity subsystemElectricity, CellFace cellFace)
 
virtual void OnAdded ()
 
virtual void OnRemoved ()
 
virtual void OnNeighborBlockChanged (CellFace cellFace, int neighborX, int neighborY, int neighborZ)
 
virtual void OnCollide (CellFace cellFace, float velocity, ComponentBody componentBody)
 
virtual void OnConnectionsChanged ()
 
int CalculateHighInputsCount ()
 

Public 属性

float m_voltage
 
bool m_wasPressed
 

额外继承的成员函数

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

构造及析构函数说明

◆ ButtonFurnitureElectricElement()

Game.ButtonFurnitureElectricElement.ButtonFurnitureElectricElement ( SubsystemElectricity subsystemElectricity,
Point3 point )

成员函数说明

◆ GetOutputVoltage()

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

◆ OnHitByProjectile()

override void Game.ButtonFurnitureElectricElement.OnHitByProjectile ( CellFace cellFace,
WorldItem worldItem )
virtual

重载 Game.ElectricElement .

函数调用图:

◆ OnInteract()

override bool Game.ButtonFurnitureElectricElement.OnInteract ( TerrainRaycastResult raycastResult,
ComponentMiner componentMiner )
virtual

重载 Game.ElectricElement .

函数调用图:

◆ Press()

void Game.ButtonFurnitureElectricElement.Press ( )
函数调用图:
这是这个函数的调用关系图:

◆ Simulate()

override bool Game.ButtonFurnitureElectricElement.Simulate ( )
virtual

重载 Game.ElectricElement .

函数调用图:

类成员变量说明

◆ m_voltage

float Game.ButtonFurnitureElectricElement.m_voltage

◆ m_wasPressed

bool Game.ButtonFurnitureElectricElement.m_wasPressed

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