跳到主要内容
版本:0.2.1

Struct AreaId

Namespace: ReadyM.Api.Idents
Assembly: ReadyM.Api.dll

Identifies an area within the game world. Areas can be main Chapter maps, sub-areas such as the Zodiac Village, or hidden boss arenas. If going somewhere requires a loading screen, it's probably a different area.

public struct AreaId : INetSerializable, IEquatable<AreaId>

Implements

INetSerializable, IEquatable<AreaId>

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

AreaId(ushort)

Identifies an area within the game world. Areas can be main Chapter maps, sub-areas such as the Zodiac Village, or hidden boss arenas. If going somewhere requires a loading screen, it's probably a different area.

public AreaId(ushort id)

Parameters

id ushort

The underlying ID value. This is not guaranteed to be stable across game versions, and should not be used for anything other than debugging or logging purposes.

Properties

Invalid

public static AreaId Invalid { get; }

Property Value

AreaId

Max

public static AreaId Max { get; }

Property Value

AreaId

Methods

Deserialize(NetDataReader)

public void Deserialize(NetDataReader reader)

Parameters

reader NetDataReader

Equals(AreaId)

public bool Equals(AreaId other)

Parameters

other AreaId

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

ToString()

public override string ToString()

Returns

string

Operators

operator ==(AreaId, AreaId)

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

Parameters

left AreaId

right AreaId

Returns

bool

operator !=(AreaId, AreaId)

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

Parameters

left AreaId

right AreaId

Returns

bool

  • Constructors
    • AreaId(ushort)
  • Properties
    • Invalid
    • Max
  • Methods
    • Deserialize(NetDataReader)
    • Equals(AreaId)
    • Equals(object?)
    • GetHashCode()
    • Serialize(NetDataWriter)
    • ToString()
  • Operators
    • operator ==(AreaId, AreaId)
    • operator !=(AreaId, AreaId)