Table of Contents

Class AvatarChange

Namespace
Moffat.EndlessOnline.SDK.Protocol.Net.Server
Assembly
Moffat.EndlessOnline.SDK.dll

Information about a nearby player's appearance changing

[Generated]
public class AvatarChange : ISerializable
Inheritance
AvatarChange
Implements
Inherited Members

Constructors

AvatarChange()

public AvatarChange()

Properties

ByteSize

Gets the size of the data that this object was deserialized from, or 0 for an object that was not deserialized.

public int ByteSize { get; }

Property Value

int

ChangeType

public AvatarChangeType ChangeType { get; set; }

Property Value

AvatarChangeType

ChangeTypeData

public AvatarChange.IChangeTypeData ChangeTypeData { get; set; }

Property Value

AvatarChange.IChangeTypeData

PlayerId

public int PlayerId { get; set; }

Property Value

int

Sound

public bool Sound { get; set; }

Property Value

bool

Methods

Deserialize(EoReader)

Deserialize the EO binary data representation of this object from an EoReader.

public void Deserialize(EoReader reader)

Parameters

reader EoReader

The reader from which this object should be read.

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

ForEquipment(ChangeTypeDataEquipment)

Creates a new AvatarChange with ChangeType set to Equipment and ChangeTypeData set to data.

public static AvatarChange ForEquipment(AvatarChange.ChangeTypeDataEquipment data)

Parameters

data AvatarChange.ChangeTypeDataEquipment

The data for the case.

Returns

AvatarChange

The new AvatarChange.

Exceptions

ArgumentNullException

Thrown when data is null.

ForHair(ChangeTypeDataHair)

Creates a new AvatarChange with ChangeType set to Hair and ChangeTypeData set to data.

public static AvatarChange ForHair(AvatarChange.ChangeTypeDataHair data)

Parameters

data AvatarChange.ChangeTypeDataHair

The data for the case.

Returns

AvatarChange

The new AvatarChange.

Exceptions

ArgumentNullException

Thrown when data is null.

ForHairColor(ChangeTypeDataHairColor)

Creates a new AvatarChange with ChangeType set to HairColor and ChangeTypeData set to data.

public static AvatarChange ForHairColor(AvatarChange.ChangeTypeDataHairColor data)

Parameters

data AvatarChange.ChangeTypeDataHairColor

The data for the case.

Returns

AvatarChange

The new AvatarChange.

Exceptions

ArgumentNullException

Thrown when data is null.

GetHashCode()

public override int GetHashCode()

Returns

int

Serialize(EoWriter)

Serialize this object to an EoWriter in the EO binary data representation.

public void Serialize(EoWriter writer)

Parameters

writer EoWriter

The writer to which this object should be written.

ToString()

public override string ToString()

Returns

string