blob: 7a1a74b1eefbd881200f13526b191f8aa340de5b (
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
using System;
using System.ComponentModel;
using System.Xml.Serialization;
using ProtoBuf;
namespace KKSG
{
[ProtoContract(Name = "FirstPassRewardNtfData")]
[Serializable]
public class FirstPassRewardNtfData : IExtensible
{
[ProtoMember(1, IsRequired = false, Name = "hasFirstPassReward", DataFormat = DataFormat.Default)]
public bool hasFirstPassReward
{
get
{
return this._hasFirstPassReward ?? false;
}
set
{
this._hasFirstPassReward = new bool?(value);
}
}
[XmlIgnore]
[Browsable(false)]
public bool hasFirstPassRewardSpecified
{
get
{
return this._hasFirstPassReward != null;
}
set
{
bool flag = value == (this._hasFirstPassReward == null);
if (flag)
{
this._hasFirstPassReward = (value ? new bool?(this.hasFirstPassReward) : null);
}
}
}
[ProtoMember(2, IsRequired = false, Name = "hasCommendReward", DataFormat = DataFormat.Default)]
public bool hasCommendReward
{
get
{
return this._hasCommendReward ?? false;
}
set
{
this._hasCommendReward = new bool?(value);
}
}
[XmlIgnore]
[Browsable(false)]
public bool hasCommendRewardSpecified
{
get
{
return this._hasCommendReward != null;
}
set
{
bool flag = value == (this._hasCommendReward == null);
if (flag)
{
this._hasCommendReward = (value ? new bool?(this.hasCommendReward) : null);
}
}
}
private bool? _hasFirstPassReward;
private bool? _hasCommendReward;
private IExtension extensionObject;
private bool ShouldSerializehasFirstPassReward()
{
return this.hasFirstPassRewardSpecified;
}
private void ResethasFirstPassReward()
{
this.hasFirstPassRewardSpecified = false;
}
private bool ShouldSerializehasCommendReward()
{
return this.hasCommendRewardSpecified;
}
private void ResethasCommendReward()
{
this.hasCommendRewardSpecified = false;
}
IExtension IExtensible.GetExtensionObject(bool createIfMissing)
{
return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
}
}
}
|