blob: 3ad38b5438e7994ecc17abe2b32927669bb03ee5 (
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 = "OnlineRewardNtf")]
[Serializable]
public class OnlineRewardNtf : IExtensible
{
[ProtoMember(1, Name = "state", DataFormat = DataFormat.TwosComplement)]
public List<uint> state
{
get
{
return this._state;
}
}
[ProtoMember(2, Name = "timeleft", DataFormat = DataFormat.TwosComplement)]
public List<uint> timeleft
{
get
{
return this._timeleft;
}
}
private readonly List<uint> _state = new List<uint>();
private readonly List<uint> _timeleft = new List<uint>();
private IExtension extensionObject;
IExtension IExtensible.GetExtensionObject(bool createIfMissing)
{
return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
}
}
}
|