diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/SceneStateNtf.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/SceneStateNtf.cs | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/SceneStateNtf.cs b/Client/Assets/Scripts/XMainClient/KKSG/SceneStateNtf.cs new file mode 100644 index 00000000..0514d2c2 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/SceneStateNtf.cs @@ -0,0 +1,78 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "SceneStateNtf")]
+ [Serializable]
+ public class SceneStateNtf : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "state", DataFormat = DataFormat.Default)]
+ [DefaultValue(null)]
+ public SSceneState state
+ {
+ get
+ {
+ return this._state;
+ }
+ set
+ {
+ this._state = value;
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "rolespecialstate", DataFormat = DataFormat.TwosComplement)]
+ public uint rolespecialstate
+ {
+ get
+ {
+ return this._rolespecialstate ?? 0u;
+ }
+ set
+ {
+ this._rolespecialstate = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool rolespecialstateSpecified
+ {
+ get
+ {
+ return this._rolespecialstate != null;
+ }
+ set
+ {
+ bool flag = value == (this._rolespecialstate == null);
+ if (flag)
+ {
+ this._rolespecialstate = (value ? new uint?(this.rolespecialstate) : null);
+ }
+ }
+ }
+
+ private SSceneState _state = null;
+
+ private uint? _rolespecialstate;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializerolespecialstate()
+ {
+ return this.rolespecialstateSpecified;
+ }
+
+ private void Resetrolespecialstate()
+ {
+ this.rolespecialstateSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|