123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- using System.Collections;
- using System.Xml.Serialization;
- namespace XmdsBattleClient.Client
- {
- public enum XmdsHttpMsgID
- {
- Register = 1,
- Login = 2,
- Update = 29,
- ServerList = 101,
- Activation = 14,
- }
- public class XmdsHttpMessage
- {
- [XmlElement("status")]
- public string Status { get; set; }
- [XmlElement("message")]
- public string Message { get; set; }
- }
- [XmlRoot("root")]
- public class LoginMessage : XmdsHttpMessage
- {
- [XmlElement("username")]
- public string Username { get; set; }
- [XmlElement("time")]
- public ulong TimeStamp { get; set; }
- [XmlElement("sign")]
- public string Sign { get; set; }
- [XmlElement("srvlist")]
- public string Srvlist { get; set; }
- [XmlElement("recom")]
- public string RecomSrv { get; set; }
- [XmlElement("position")]
- public string Position { get; set; }
- [XmlElement("rolebasic")]
- public string Rolebasic { get; set; }
- [XmlElement("activation_code_src")]
- public string activationCode { get; set; }
- }
- [XmlRoot("root")]
- public class RegisterMessage : XmdsHttpMessage
- {
- [XmlElement("username")]
- public string Username { get; set; }
- [XmlElement("time")]
- public string Time { get; set; }
- [XmlElement("sign")]
- public string Sign { get; set; }
- }
- [XmlRoot("root")]
- public class SrvListMessage : XmdsHttpMessage
- {
- [XmlElement("srvlist")]
- public string Srvlist { get; set; }
- [XmlElement("recom")]
- public string RecomSrv { get; set; }
- [XmlElement("rolebasic")]
- public string Rolebasic { get; set; }
- }
- [XmlRoot("root")]
- public class UpdateVersionMessage : XmdsHttpMessage
- {
- [XmlElement("isupdate")]
- public string isupdate;
- [XmlElement("updateurl")]
- public string updateurl;
- [XmlElement("srvstate")]
- public string srvstate;
- [XmlElement("starttime")]
- public string starttime;
- [XmlElement("endtime")]
- public string endtime;
- [XmlElement("bbsurl")]
- public string bbsurl;
- [XmlElement("content")]
- public string content;
- [XmlElement("sys_notice_state")]
- public string noticeState;
- [XmlElement("sys_content")]
- public string noticeContent;
- [XmlElement("update_version_url")]
- public string resUrl;
- }
- [XmlRoot("root")]
- public class ActivationMessage : XmdsHttpMessage
- {
-
- }
- }
|