blob: 01d6e083972f9b705924ee57e7b22a9458930161 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Xml.Serialization;
using ProtoBuf;
namespace KKSG
{
[ProtoContract(Name = "TransSkillNotfiy")]
[Serializable]
public class TransSkillNotfiy : IExtensible
{
[ProtoMember(1, Name = "skillhash", DataFormat = DataFormat.TwosComplement)]
public List<uint> skillhash
{
get
{
return this._skillhash;
}
}
[ProtoMember(2, Name = "skilllevel", DataFormat = DataFormat.TwosComplement)]
public List<uint> skilllevel
{
get
{
return this._skilllevel;
}
}
[ProtoMember(3, IsRequired = false, Name = "isincreasing", DataFormat = DataFormat.Default)]
public bool isincreasing
{
get
{
return this._isincreasing ?? false;
}
set
{
this._isincreasing = new bool?(value);
}
}
[XmlIgnore]
[Browsable(false)]
public bool isincreasingSpecified
{
get
{
return this._isincreasing != null;
}
set
{
bool flag = value == (this._isincreasing == null);
if (flag)
{
this._isincreasing = (value ? new bool?(this.isincreasing) : null);
}
}
}
private readonly List<uint> _skillhash = new List<uint>();
private readonly List<uint> _skilllevel = new List<uint>();
private bool? _isincreasing;
private IExtension extensionObject;
private bool ShouldSerializeisincreasing()
{
return this.isincreasingSpecified;
}
private void Resetisincreasing()
{
this.isincreasingSpecified = false;
}
IExtension IExtensible.GetExtensionObject(bool createIfMissing)
{
return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
}
}
}
|