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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
|
using System;
using System.ComponentModel;
using System.Xml.Serialization;
using ProtoBuf;
namespace KKSG
{
[ProtoContract(Name = "FriendPlantLog")]
[Serializable]
public class FriendPlantLog : IExtensible
{
[ProtoMember(1, IsRequired = false, Name = "role_id", DataFormat = DataFormat.TwosComplement)]
public ulong role_id
{
get
{
return this._role_id ?? 0UL;
}
set
{
this._role_id = new ulong?(value);
}
}
[XmlIgnore]
[Browsable(false)]
public bool role_idSpecified
{
get
{
return this._role_id != null;
}
set
{
bool flag = value == (this._role_id == null);
if (flag)
{
this._role_id = (value ? new ulong?(this.role_id) : null);
}
}
}
[ProtoMember(2, IsRequired = false, Name = "role_name", DataFormat = DataFormat.Default)]
public string role_name
{
get
{
return this._role_name ?? "";
}
set
{
this._role_name = value;
}
}
[XmlIgnore]
[Browsable(false)]
public bool role_nameSpecified
{
get
{
return this._role_name != null;
}
set
{
bool flag = value == (this._role_name == null);
if (flag)
{
this._role_name = (value ? this.role_name : null);
}
}
}
[ProtoMember(3, IsRequired = false, Name = "profession_id", DataFormat = DataFormat.TwosComplement)]
public uint profession_id
{
get
{
return this._profession_id ?? 0u;
}
set
{
this._profession_id = new uint?(value);
}
}
[XmlIgnore]
[Browsable(false)]
public bool profession_idSpecified
{
get
{
return this._profession_id != null;
}
set
{
bool flag = value == (this._profession_id == null);
if (flag)
{
this._profession_id = (value ? new uint?(this.profession_id) : null);
}
}
}
[ProtoMember(4, IsRequired = false, Name = "exist_sprite", DataFormat = DataFormat.Default)]
public bool exist_sprite
{
get
{
return this._exist_sprite ?? false;
}
set
{
this._exist_sprite = new bool?(value);
}
}
[XmlIgnore]
[Browsable(false)]
public bool exist_spriteSpecified
{
get
{
return this._exist_sprite != null;
}
set
{
bool flag = value == (this._exist_sprite == null);
if (flag)
{
this._exist_sprite = (value ? new bool?(this.exist_sprite) : null);
}
}
}
[ProtoMember(5, IsRequired = false, Name = "mature", DataFormat = DataFormat.Default)]
public bool mature
{
get
{
return this._mature ?? false;
}
set
{
this._mature = new bool?(value);
}
}
[XmlIgnore]
[Browsable(false)]
public bool matureSpecified
{
get
{
return this._mature != null;
}
set
{
bool flag = value == (this._mature == null);
if (flag)
{
this._mature = (value ? new bool?(this.mature) : null);
}
}
}
[ProtoMember(6, IsRequired = false, Name = "abnormal_state", DataFormat = DataFormat.Default)]
public bool abnormal_state
{
get
{
return this._abnormal_state ?? false;
}
set
{
this._abnormal_state = new bool?(value);
}
}
[XmlIgnore]
[Browsable(false)]
public bool abnormal_stateSpecified
{
get
{
return this._abnormal_state != null;
}
set
{
bool flag = value == (this._abnormal_state == null);
if (flag)
{
this._abnormal_state = (value ? new bool?(this.abnormal_state) : null);
}
}
}
[ProtoMember(7, IsRequired = false, Name = "help_times", DataFormat = DataFormat.TwosComplement)]
public uint help_times
{
get
{
return this._help_times ?? 0u;
}
set
{
this._help_times = new uint?(value);
}
}
[XmlIgnore]
[Browsable(false)]
public bool help_timesSpecified
{
get
{
return this._help_times != null;
}
set
{
bool flag = value == (this._help_times == null);
if (flag)
{
this._help_times = (value ? new uint?(this.help_times) : null);
}
}
}
private ulong? _role_id;
private string _role_name;
private uint? _profession_id;
private bool? _exist_sprite;
private bool? _mature;
private bool? _abnormal_state;
private uint? _help_times;
private IExtension extensionObject;
private bool ShouldSerializerole_id()
{
return this.role_idSpecified;
}
private void Resetrole_id()
{
this.role_idSpecified = false;
}
private bool ShouldSerializerole_name()
{
return this.role_nameSpecified;
}
private void Resetrole_name()
{
this.role_nameSpecified = false;
}
private bool ShouldSerializeprofession_id()
{
return this.profession_idSpecified;
}
private void Resetprofession_id()
{
this.profession_idSpecified = false;
}
private bool ShouldSerializeexist_sprite()
{
return this.exist_spriteSpecified;
}
private void Resetexist_sprite()
{
this.exist_spriteSpecified = false;
}
private bool ShouldSerializemature()
{
return this.matureSpecified;
}
private void Resetmature()
{
this.matureSpecified = false;
}
private bool ShouldSerializeabnormal_state()
{
return this.abnormal_stateSpecified;
}
private void Resetabnormal_state()
{
this.abnormal_stateSpecified = false;
}
private bool ShouldSerializehelp_times()
{
return this.help_timesSpecified;
}
private void Resethelp_times()
{
this.help_timesSpecified = false;
}
IExtension IExtensible.GetExtensionObject(bool createIfMissing)
{
return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
}
}
}
|