summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/ChatParamItem.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/ChatParamItem.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/ChatParamItem.cs34
1 files changed, 34 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/ChatParamItem.cs b/Client/Assets/Scripts/XMainClient/KKSG/ChatParamItem.cs
new file mode 100644
index 00000000..60a3a8fb
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/ChatParamItem.cs
@@ -0,0 +1,34 @@
+using System;
+using System.ComponentModel;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "ChatParamItem")]
+ [Serializable]
+ public class ChatParamItem : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "item", DataFormat = DataFormat.Default)]
+ [DefaultValue(null)]
+ public ItemBrief item
+ {
+ get
+ {
+ return this._item;
+ }
+ set
+ {
+ this._item = value;
+ }
+ }
+
+ private ItemBrief _item = null;
+
+ private IExtension extensionObject;
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}