diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/RoleConfig.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/RoleConfig.cs | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/RoleConfig.cs b/Client/Assets/Scripts/XMainClient/KKSG/RoleConfig.cs new file mode 100644 index 00000000..ec2d7953 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/RoleConfig.cs @@ -0,0 +1,40 @@ +using System;
+using System.Collections.Generic;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "RoleConfig")]
+ [Serializable]
+ public class RoleConfig : IExtensible
+ {
+ [ProtoMember(1, Name = "type", DataFormat = DataFormat.Default)]
+ public List<string> type
+ {
+ get
+ {
+ return this._type;
+ }
+ }
+
+ [ProtoMember(2, Name = "value", DataFormat = DataFormat.Default)]
+ public List<string> value
+ {
+ get
+ {
+ return this._value;
+ }
+ }
+
+ private readonly List<string> _type = new List<string>();
+
+ private readonly List<string> _value = new List<string>();
+
+ private IExtension extensionObject;
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|