blob: 5ce2dda8e48498474efc47372096b703d4d20048 (
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
|
using System;
using System.ComponentModel;
using ProtoBuf;
namespace KKSG
{
[ProtoContract(Name = "WeddingCarNotify")]
[Serializable]
public class WeddingCarNotify : IExtensible
{
[ProtoMember(1, IsRequired = false, Name = "role1", DataFormat = DataFormat.Default)]
[DefaultValue(null)]
public UnitAppearance role1
{
get
{
return this._role1;
}
set
{
this._role1 = value;
}
}
[ProtoMember(2, IsRequired = false, Name = "role2", DataFormat = DataFormat.Default)]
[DefaultValue(null)]
public UnitAppearance role2
{
get
{
return this._role2;
}
set
{
this._role2 = value;
}
}
private UnitAppearance _role1 = null;
private UnitAppearance _role2 = null;
private IExtension extensionObject;
IExtension IExtensible.GetExtensionObject(bool createIfMissing)
{
return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
}
}
}
|