Class PlayerMachineInfo
Inheritance
PlayerMachineInfo
Assembly: Assembly-CSharp.dll
Syntax
public class PlayerMachineInfo
Properties
Blocks
Meta-data of the blocks of this machine.
Declaration
public ReadOnlyCollection<BlockInfo> Blocks { get; }
Property Value
InternalObject
Internal representation of this object.
WARNING: This is not part of the stable API and subject to change!
Declaration
public MachineInfo InternalObject { get; }
Property Value
Type |
Description |
MachineInfo |
|
MachineData
Custom data associated to this machine.
Declaration
public XDataHolder MachineData { get; }
Property Value
Type |
Description |
XDataHolder |
|
Name
Declaration
public string Name { get; }
Property Value
Position
Position of this machine.
Declaration
public Vector3 Position { get; }
Property Value
Type |
Description |
UnityEngine.Vector3 |
|
Rotation
Rotation of this machine.
Declaration
public Quaternion Rotation { get; }
Property Value
Type |
Description |
UnityEngine.Quaternion |
|
Methods
Equals(PlayerMachineInfo)
Declaration
protected bool Equals(PlayerMachineInfo other)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
From(MachineInfo)
Create a MachineInfo from its internal representation.
Declaration
public static PlayerMachineInfo From(MachineInfo info)
Parameters
Type |
Name |
Description |
MachineInfo |
info |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
Equality(PlayerMachineInfo, PlayerMachineInfo)
Declaration
public static bool operator ==(PlayerMachineInfo left, PlayerMachineInfo right)
Parameters
Returns
Inequality(PlayerMachineInfo, PlayerMachineInfo)
Declaration
public static bool operator !=(PlayerMachineInfo left, PlayerMachineInfo right)
Parameters
Returns