Table of Contents

Struct Body

Namespace
Moongate.UO.Data.Bodies
Assembly
Moongate.UO.Data.dll

Represents Body.

public struct Body
Inherited Members

Constructors

Body(int)

public Body(int bodyID)

Parameters

bodyID int

Fields

Types

public static UOBodyType[] Types

Field Value

UOBodyType[]

Properties

BodyID

public readonly int BodyID { get; }

Property Value

int

IsAnimal

public bool IsAnimal { get; }

Property Value

bool

IsEmpty

public bool IsEmpty { get; }

Property Value

bool

IsEquipment

public bool IsEquipment { get; }

Property Value

bool

IsFemale

public bool IsFemale { get; }

Property Value

bool

IsGargoyle

public bool IsGargoyle { get; }

Property Value

bool

IsGhost

public bool IsGhost { get; }

Property Value

bool

IsHuman

public bool IsHuman { get; }

Property Value

bool

IsMale

public bool IsMale { get; }

Property Value

bool

IsMonster

public bool IsMonster { get; }

Property Value

bool

IsSea

public bool IsSea { get; }

Property Value

bool

Type

public UOBodyType Type { get; }

Property Value

UOBodyType

Methods

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

Operators

operator ==(Body, Body)

public static bool operator ==(Body l, Body r)

Parameters

l Body
r Body

Returns

bool

operator >(Body, Body)

public static bool operator >(Body l, Body r)

Parameters

l Body
r Body

Returns

bool

operator >=(Body, Body)

public static bool operator >=(Body l, Body r)

Parameters

l Body
r Body

Returns

bool

implicit operator int(Body)

public static implicit operator int(Body a)

Parameters

a Body

Returns

int

implicit operator Body(int)

public static implicit operator Body(int a)

Parameters

a int

Returns

Body

operator !=(Body, Body)

public static bool operator !=(Body l, Body r)

Parameters

l Body
r Body

Returns

bool

operator <(Body, Body)

public static bool operator <(Body l, Body r)

Parameters

l Body
r Body

Returns

bool

operator <=(Body, Body)

public static bool operator <=(Body l, Body r)

Parameters

l Body
r Body

Returns

bool