summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/CustomBattleQueryInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/CustomBattleQueryInfo.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/CustomBattleQueryInfo.cs57
1 files changed, 57 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/CustomBattleQueryInfo.cs b/Client/Assets/Scripts/XMainClient/KKSG/CustomBattleQueryInfo.cs
new file mode 100644
index 00000000..9e5aca07
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/CustomBattleQueryInfo.cs
@@ -0,0 +1,57 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "CustomBattleQueryInfo")]
+ [Serializable]
+ public class CustomBattleQueryInfo : IExtensible
+ {
+ [ProtoMember(1, Name = "battlesystem", DataFormat = DataFormat.Default)]
+ public List<CustomBattleDataRole> battlesystem
+ {
+ get
+ {
+ return this._battlesystem;
+ }
+ }
+
+ [ProtoMember(2, Name = "battlerandom", DataFormat = DataFormat.Default)]
+ public List<CustomBattleDataRole> battlerandom
+ {
+ get
+ {
+ return this._battlerandom;
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "battleone", DataFormat = DataFormat.Default)]
+ [DefaultValue(null)]
+ public CustomBattleDataRole battleone
+ {
+ get
+ {
+ return this._battleone;
+ }
+ set
+ {
+ this._battleone = value;
+ }
+ }
+
+ private readonly List<CustomBattleDataRole> _battlesystem = new List<CustomBattleDataRole>();
+
+ private readonly List<CustomBattleDataRole> _battlerandom = new List<CustomBattleDataRole>();
+
+ private CustomBattleDataRole _battleone = null;
+
+ private IExtension extensionObject;
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}