From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Assets/Scripts/XMainClient/KKSG/ChatParam.cs | 146 +++++++++++++++++++++ 1 file changed, 146 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/KKSG/ChatParam.cs (limited to 'Client/Assets/Scripts/XMainClient/KKSG/ChatParam.cs') diff --git a/Client/Assets/Scripts/XMainClient/KKSG/ChatParam.cs b/Client/Assets/Scripts/XMainClient/KKSG/ChatParam.cs new file mode 100644 index 00000000..5f7cffa0 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/ChatParam.cs @@ -0,0 +1,146 @@ +using System; +using System.ComponentModel; +using ProtoBuf; + +namespace KKSG +{ + [ProtoContract(Name = "ChatParam")] + [Serializable] + public class ChatParam : IExtensible + { + [ProtoMember(1, IsRequired = false, Name = "role", DataFormat = DataFormat.Default)] + [DefaultValue(null)] + public ChatParamRole role + { + get + { + return this._role; + } + set + { + this._role = value; + } + } + + [ProtoMember(2, IsRequired = false, Name = "item", DataFormat = DataFormat.Default)] + [DefaultValue(null)] + public ChatParamItem item + { + get + { + return this._item; + } + set + { + this._item = value; + } + } + + [ProtoMember(3, IsRequired = false, Name = "num", DataFormat = DataFormat.Default)] + [DefaultValue(null)] + public ChatParamNum num + { + get + { + return this._num; + } + set + { + this._num = value; + } + } + + [ProtoMember(4, IsRequired = false, Name = "guild", DataFormat = DataFormat.Default)] + [DefaultValue(null)] + public ChatParamGuild guild + { + get + { + return this._guild; + } + set + { + this._guild = value; + } + } + + [ProtoMember(5, IsRequired = false, Name = "team", DataFormat = DataFormat.Default)] + [DefaultValue(null)] + public ChatParamTeam team + { + get + { + return this._team; + } + set + { + this._team = value; + } + } + + [ProtoMember(6, IsRequired = false, Name = "link", DataFormat = DataFormat.Default)] + [DefaultValue(null)] + public ChatParamLink link + { + get + { + return this._link; + } + set + { + this._link = value; + } + } + + [ProtoMember(7, IsRequired = false, Name = "spectate", DataFormat = DataFormat.Default)] + [DefaultValue(null)] + public ChatParamSpectate spectate + { + get + { + return this._spectate; + } + set + { + this._spectate = value; + } + } + + [ProtoMember(8, IsRequired = false, Name = "dragonguild", DataFormat = DataFormat.Default)] + [DefaultValue(null)] + public ChatParamDragonGuild dragonguild + { + get + { + return this._dragonguild; + } + set + { + this._dragonguild = value; + } + } + + private ChatParamRole _role = null; + + private ChatParamItem _item = null; + + private ChatParamNum _num = null; + + private ChatParamGuild _guild = null; + + private ChatParamTeam _team = null; + + private ChatParamLink _link = null; + + private ChatParamSpectate _spectate = null; + + private ChatParamDragonGuild _dragonguild = null; + + private IExtension extensionObject; + + IExtension IExtensible.GetExtensionObject(bool createIfMissing) + { + return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); + } + } +} -- cgit v1.1-26-g67d0