跳到主要内容
版本:1.0.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​

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

ToManaged()​

public string ToManaged()

Returns​

string

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
    • Equals(CellId)
    • Equals(object?)
    • GetHashCode()
    • ToManaged()
    • ToString()
  • Operators
    • operator ==(CellId, CellId)
    • operator !=(CellId, CellId)