Struct GameRuleId
public struct GameRuleId
- Extension Methods
Constructors
GameRuleId(string)
public GameRuleId(string id)
Parameters
idstring
Fields
Empty
public static GameRuleId Empty
Field Value
Id
[SerializeField]
public string Id
Field Value
- string
Properties
HasValue
public bool HasValue { get; }
Property Value
- bool
IsEmpty
public bool IsEmpty { get; }
Property Value
- bool
Methods
Equals(GameRuleId)
public bool Equals(GameRuleId other)
Parameters
otherGameRuleId
Returns
- bool
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
ToString()
public override string ToString()
Returns
- string
Operators
operator ==(GameRuleId, GameRuleId)
public static bool operator ==(GameRuleId lhs, GameRuleId rhs)
Parameters
lhsGameRuleIdrhsGameRuleId
Returns
- bool
operator !=(GameRuleId, GameRuleId)
public static bool operator !=(GameRuleId lhs, GameRuleId rhs)
Parameters
lhsGameRuleIdrhsGameRuleId
Returns
- bool