using System; using System.Collections.Generic; using ProtoBuf; namespace KKSG { [ProtoContract(Name = "MobaRoleChangeData")] [Serializable] public class MobaRoleChangeData : IExtensible { [ProtoMember(1, Name = "changeRole", DataFormat = DataFormat.Default)] public List changeRole { get { return this._changeRole; } } private readonly List _changeRole = new List(); private IExtension extensionObject; IExtension IExtensible.GetExtensionObject(bool createIfMissing) { return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); } } }