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