blob: dfea3c6df30d3268451de4aeda4468657382fcdf (
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
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using ProtoBuf;
namespace KKSG
{
[ProtoContract(Name = "OtherFetchDoodadRes")]
[Serializable]
public class OtherFetchDoodadRes : IExtensible
{
[ProtoMember(1, Name = "rollInfos", DataFormat = DataFormat.Default)]
public List<RollInfo> rollInfos
{
get
{
return this._rollInfos;
}
}
[ProtoMember(2, IsRequired = false, Name = "doodadInfo", DataFormat = DataFormat.Default)]
[DefaultValue(null)]
public EnemyDoodadInfo doodadInfo
{
get
{
return this._doodadInfo;
}
set
{
this._doodadInfo = value;
}
}
private readonly List<RollInfo> _rollInfos = new List<RollInfo>();
private EnemyDoodadInfo _doodadInfo = null;
private IExtension extensionObject;
IExtension IExtensible.GetExtensionObject(bool createIfMissing)
{
return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
}
}
}
|