Skip to main content
Version: 0.2.0

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. Cells are only used in OblivionMP for now. WukongMP does not use cells.

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​

CellId

Methods​

Deserialize(NetDataReader)​

public void Deserialize(NetDataReader reader)

Parameters​

reader NetDataReader

Equals(CellId)​

public bool Equals(CellId other)

Parameters​

other CellId

Returns​

bool

Equals(object?)​

public override bool Equals(object? obj)

Parameters​

obj object?

Returns​

bool

GetHashCode()​

public override int GetHashCode()

Returns​

int

Serialize(NetDataWriter)​

public void Serialize(NetDataWriter writer)

Parameters​

writer NetDataWriter

TextDeserialize(ref Utf8JsonReader, JsonSerializerOptions)​

public static CellId TextDeserialize(ref Utf8JsonReader reader, JsonSerializerOptions options)

Parameters​

reader Utf8JsonReader

options JsonSerializerOptions

Returns​

CellId

ToString()​

public override string ToString()

Returns​

string

Operators​

operator ==(CellId, CellId)​

public static bool operator ==(CellId left, CellId right)

Parameters​

left CellId

right CellId

Returns​

bool

operator !=(CellId, CellId)​

public static bool operator !=(CellId left, CellId right)

Parameters​

left CellId

right CellId

Returns​

bool

  • Constructors
    • CellId(NativeString256)
    • CellId(string)
    • CellId(int)
  • Properties
    • Invalid
  • Methods
    • Deserialize(NetDataReader)
    • Equals(CellId)
    • Equals(object?)
    • GetHashCode()
    • Serialize(NetDataWriter)
    • TextDeserialize(ref Utf8JsonReader, JsonSerializerOptions)
    • ToString()
  • Operators
    • operator ==(CellId, CellId)
    • operator !=(CellId, CellId)