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