blob: a2150d21f8e17db884a3a626fc9bf068325e0eca (
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 = "Attribute")]
[Serializable]
public class Attribute : IExtensible
{
[ProtoMember(1, Name = "basicAttribute", DataFormat = DataFormat.TwosComplement)]
public List<double> basicAttribute
{
get
{
return this._basicAttribute;
}
}
[ProtoMember(2, Name = "percentAttribute", DataFormat = DataFormat.TwosComplement)]
public List<double> percentAttribute
{
get
{
return this._percentAttribute;
}
}
[ProtoMember(3, Name = "attrID", DataFormat = DataFormat.TwosComplement)]
public List<uint> attrID
{
get
{
return this._attrID;
}
}
private readonly List<double> _basicAttribute = new List<double>();
private readonly List<double> _percentAttribute = new List<double>();
private readonly List<uint> _attrID = new List<uint>();
private IExtension extensionObject;
IExtension IExtensible.GetExtensionObject(bool createIfMissing)
{
return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
}
}
}
|