Class InnRecord
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
AlternateSpawnMap
public int AlternateSpawnMap { get; set; }
Property Value
AlternateSpawnX
public int AlternateSpawnX { get; set; }
Property Value
AlternateSpawnY
public int AlternateSpawnY { get; set; }
Property Value
BehaviorId
Behavior ID of the NPC that runs the inn. 0 for default inn
public int BehaviorId { get; set; }
Property Value
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
Name
public string Name { get; set; }
Property Value
Questions
public List<InnQuestionRecord> Questions { get; set; }
Property Value
SleepMap
ID of the map the player is sent to after sleeping at the inn
public int SleepMap { get; set; }
Property Value
SleepX
X coordinate of the map the player is sent to after sleeping at the inn
public int SleepX { get; set; }
Property Value
SleepY
Y coordinate of the map the player is sent to after sleeping at the inn
public int SleepY { get; set; }
Property Value
SpawnMap
ID of the map the player is sent to after respawning
public int SpawnMap { get; set; }
Property Value
SpawnX
X coordinate of the map the player is sent to after respawning
public int SpawnX { get; set; }
Property Value
SpawnY
Y coordinate of the map the player is sent to after respawning
public int SpawnY { get; set; }
Property Value
Methods
Deserialize(EoReader)
Deserialize the EO binary data representation of this object from an EoReader.
public void Deserialize(EoReader reader)
Parameters
readerEoReaderThe reader from which this object should be read.
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
Serialize(EoWriter)
Serialize this object to an EoWriter in the EO binary data representation.
public void Serialize(EoWriter writer)
Parameters
writerEoWriterThe writer to which this object should be written.
ToString()
public override string ToString()