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