Struct Body
Represents Body.
public struct Body
- Inherited Members
Constructors
Body(int)
public Body(int bodyID)
Parameters
bodyIDint
Fields
Types
public static UOBodyType[] Types
Field Value
Properties
BodyID
public readonly int BodyID { get; }
Property Value
IsAnimal
public bool IsAnimal { get; }
Property Value
IsEmpty
public bool IsEmpty { get; }
Property Value
IsEquipment
public bool IsEquipment { get; }
Property Value
IsFemale
public bool IsFemale { get; }
Property Value
IsGargoyle
public bool IsGargoyle { get; }
Property Value
IsGhost
public bool IsGhost { get; }
Property Value
IsHuman
public bool IsHuman { get; }
Property Value
IsMale
public bool IsMale { get; }
Property Value
IsMonster
public bool IsMonster { get; }
Property Value
IsSea
public bool IsSea { get; }
Property Value
Type
public UOBodyType Type { get; }
Property Value
Methods
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand 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
Returns
operator >(Body, Body)
public static bool operator >(Body l, Body r)
Parameters
Returns
operator >=(Body, Body)
public static bool operator >=(Body l, Body r)
Parameters
Returns
implicit operator int(Body)
public static implicit operator int(Body a)
Parameters
aBody
Returns
implicit operator Body(int)
public static implicit operator Body(int a)
Parameters
aint
Returns
operator !=(Body, Body)
public static bool operator !=(Body l, Body r)
Parameters
Returns
operator <(Body, Body)
public static bool operator <(Body l, Body r)
Parameters
Returns
operator <=(Body, Body)
public static bool operator <=(Body l, Body r)