blob: b9ad99b3bd2c0431ce001b6cda22238b1c147bd9 (
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 = "DailyTaskAskHelpRes")]
[Serializable]
public class DailyTaskAskHelpRes : IExtensible
{
[ProtoMember(1, IsRequired = false, Name = "code", DataFormat = DataFormat.TwosComplement)]
public ErrorCode code
{
get
{
return this._code ?? ErrorCode.ERR_SUCCESS;
}
set
{
this._code = new ErrorCode?(value);
}
}
[XmlIgnore]
[Browsable(false)]
public bool codeSpecified
{
get
{
return this._code != null;
}
set
{
bool flag = value == (this._code == null);
if (flag)
{
this._code = (value ? new ErrorCode?(this.code) : null);
}
}
}
[ProtoMember(2, IsRequired = false, Name = "ask_uid", DataFormat = DataFormat.TwosComplement)]
public uint ask_uid
{
get
{
return this._ask_uid ?? 0u;
}
set
{
this._ask_uid = new uint?(value);
}
}
[XmlIgnore]
[Browsable(false)]
public bool ask_uidSpecified
{
get
{
return this._ask_uid != null;
}
set
{
bool flag = value == (this._ask_uid == null);
if (flag)
{
this._ask_uid = (value ? new uint?(this.ask_uid) : null);
}
}
}
private ErrorCode? _code;
private uint? _ask_uid;
private IExtension extensionObject;
private bool ShouldSerializecode()
{
return this.codeSpecified;
}
private void Resetcode()
{
this.codeSpecified = false;
}
private bool ShouldSerializeask_uid()
{
return this.ask_uidSpecified;
}
private void Resetask_uid()
{
this.ask_uidSpecified = false;
}
IExtension IExtensible.GetExtensionObject(bool createIfMissing)
{
return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
}
}
}
|