blob: ec2d7953c701e8a024964b4845f83171184849b0 (
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 = "RoleConfig")]
[Serializable]
public class RoleConfig : IExtensible
{
[ProtoMember(1, Name = "type", DataFormat = DataFormat.Default)]
public List<string> type
{
get
{
return this._type;
}
}
[ProtoMember(2, Name = "value", DataFormat = DataFormat.Default)]
public List<string> value
{
get
{
return this._value;
}
}
private readonly List<string> _type = new List<string>();
private readonly List<string> _value = new List<string>();
private IExtension extensionObject;
IExtension IExtensible.GetExtensionObject(bool createIfMissing)
{
return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
}
}
}
|