Struct CellId
Namespace: ReadyM.Api.Idents
Assembly: ReadyM.Api.dll
Identifies a cell within an area.
CellId has to be unique within its parent area (identified by AreaId).
The main difference between a cell and an area is that a player can be only in one area at once, but can have many cells active within that area.
public struct CellId : INetSerializable, IEquatable<CellId>
Implements
INetSerializable, IEquatable<CellId>
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
CellId(NativeString256)
public CellId(NativeString256 id)
Parameters
id NativeString256
CellId(string)
public CellId(string id)
Parameters
id string
CellId(int)
public CellId(int id)
Parameters
id int
Properties
Invalid
public static CellId Invalid { get; }
Property Value
Methods
Equals(CellId)
public bool Equals(CellId other)
Parameters
other CellId
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj object?
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToManaged()
public string ToManaged()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(CellId, CellId)
public static bool operator ==(CellId left, CellId right)
Parameters
left CellId
right CellId
Returns
operator !=(CellId, CellId)
public static bool operator !=(CellId left, CellId right)
Parameters
left CellId
right CellId