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