using System; using System.ComponentModel; using System.Xml.Serialization; using ProtoBuf; namespace KKSG { [ProtoContract(Name = "StageCountResetArg")] [Serializable] public class StageCountResetArg : IExtensible { [ProtoMember(1, IsRequired = false, Name = "groupid", DataFormat = DataFormat.TwosComplement)] public uint groupid { get { return this._groupid ?? 0u; } set { this._groupid = new uint?(value); } } [XmlIgnore] [Browsable(false)] public bool groupidSpecified { get { return this._groupid != null; } set { bool flag = value == (this._groupid == null); if (flag) { this._groupid = (value ? new uint?(this.groupid) : null); } } } private uint? _groupid; private IExtension extensionObject; private bool ShouldSerializegroupid() { return this.groupidSpecified; } private void Resetgroupid() { this.groupidSpecified = false; } IExtension IExtensible.GetExtensionObject(bool createIfMissing) { return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); } } }