forked from SoDOff-Project/sodoff
-added CurrentZone property to Viking model -implemented ``InviteBuddy`` and ``GetBuddyLocation``
34 lines
818 B
C#
34 lines
818 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace sodoff.Schema
|
|
{
|
|
[XmlRoot(ElementName = "BuddyLocation", Namespace = "")]
|
|
[Serializable]
|
|
public class BuddyLocation
|
|
{
|
|
[XmlElement(ElementName = "UserID")]
|
|
public string UserID;
|
|
|
|
[XmlElement(ElementName = "Server")]
|
|
public string Server;
|
|
|
|
[XmlElement(ElementName = "Zone")]
|
|
public string Zone;
|
|
|
|
[XmlElement(ElementName = "Room")]
|
|
public string Room;
|
|
|
|
[XmlElement(ElementName = "MultiplayerID")]
|
|
public int MultiplayerID;
|
|
|
|
[XmlElement(ElementName = "ServerVersion")]
|
|
public string ServerVersion;
|
|
|
|
[XmlElement(ElementName = "AppName")]
|
|
public string AppName;
|
|
|
|
[XmlElement(ElementName = "ServerPort")]
|
|
public int ServerPort;
|
|
}
|
|
}
|