blob: 0322e28be8b0a5fa6df101337b71c919af771b20 (
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
41
42
43
44
45
46
47
48
49
50
51
|
using System;
using System.Collections.Generic;
using ProtoBuf;
namespace KKSG
{
[ProtoContract(Name = "PrivateChatList")]
[Serializable]
public class PrivateChatList : IExtensible
{
[ProtoMember(1, Name = "rolelist", DataFormat = DataFormat.Default)]
public List<ChatSource> rolelist
{
get
{
return this._rolelist;
}
}
[ProtoMember(2, Name = "hasOfflineChat", DataFormat = DataFormat.Default)]
public List<bool> hasOfflineChat
{
get
{
return this._hasOfflineChat;
}
}
[ProtoMember(3, Name = "lastChatTime", DataFormat = DataFormat.TwosComplement)]
public List<uint> lastChatTime
{
get
{
return this._lastChatTime;
}
}
private readonly List<ChatSource> _rolelist = new List<ChatSource>();
private readonly List<bool> _hasOfflineChat = new List<bool>();
private readonly List<uint> _lastChatTime = new List<uint>();
private IExtension extensionObject;
IExtension IExtensible.GetExtensionObject(bool createIfMissing)
{
return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
}
}
}
|