Table of Contents

Class InnRecord

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

Record of Inn data in an Endless Inn File

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

Constructors

InnRecord()

public InnRecord()

Properties

AlternateSpawnEnabled

Flag for an alternate spawn point. If true, the server will use this alternate spawn map, x, and, y based on some other condition. In the official server, this is used to respawn new characters on the noob island until they reach a certain level.

public bool AlternateSpawnEnabled { get; set; }

Property Value

bool

AlternateSpawnMap

public int AlternateSpawnMap { get; set; }

Property Value

int

AlternateSpawnX

public int AlternateSpawnX { get; set; }

Property Value

int

AlternateSpawnY

public int AlternateSpawnY { get; set; }

Property Value

int

BehaviorId

Behavior ID of the NPC that runs the inn. 0 for default inn

public int BehaviorId { get; set; }

Property Value

int

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

Name

public string Name { get; set; }

Property Value

string

Questions

public List<InnQuestionRecord> Questions { get; set; }

Property Value

List<InnQuestionRecord>

SleepMap

ID of the map the player is sent to after sleeping at the inn

public int SleepMap { get; set; }

Property Value

int

SleepX

X coordinate of the map the player is sent to after sleeping at the inn

public int SleepX { get; set; }

Property Value

int

SleepY

Y coordinate of the map the player is sent to after sleeping at the inn

public int SleepY { get; set; }

Property Value

int

SpawnMap

ID of the map the player is sent to after respawning

public int SpawnMap { get; set; }

Property Value

int

SpawnX

X coordinate of the map the player is sent to after respawning

public int SpawnX { get; set; }

Property Value

int

SpawnY

Y coordinate of the map the player is sent to after respawning

public int SpawnY { get; set; }

Property Value

int

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

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