blob: d25a65241b1c869ac7947c9deffc67150de1393d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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);
}
}
}
|