blob: 607cf0221088a569fa35d4a060c43da697f6c109 (
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
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using ProtoBuf;
namespace KKSG
{
[ProtoContract(Name = "SyncPlatFriend2MSData")]
[Serializable]
public class SyncPlatFriend2MSData : IExtensible
{
[ProtoMember(1, Name = "friendInfo", DataFormat = DataFormat.Default)]
public List<PlatFriend> friendInfo
{
get
{
return this._friendInfo;
}
}
[ProtoMember(2, IsRequired = false, Name = "selfInfo", DataFormat = DataFormat.Default)]
[DefaultValue(null)]
public PlatFriend selfInfo
{
get
{
return this._selfInfo;
}
set
{
this._selfInfo = value;
}
}
private readonly List<PlatFriend> _friendInfo = new List<PlatFriend>();
private PlatFriend _selfInfo = null;
private IExtension extensionObject;
IExtension IExtensible.GetExtensionObject(bool createIfMissing)
{
return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
}
}
}
|