using System; using System.Collections.Generic; using ProtoBuf; namespace KKSG { [ProtoContract(Name = "HeroBattleAncientPowerData")] [Serializable] public class HeroBattleAncientPowerData : IExtensible { [ProtoMember(1, Name = "roleids", DataFormat = DataFormat.TwosComplement)] public List roleids { get { return this._roleids; } } [ProtoMember(2, Name = "ancientpower", DataFormat = DataFormat.TwosComplement)] public List ancientpower { get { return this._ancientpower; } } private readonly List _roleids = new List(); private readonly List _ancientpower = new List(); private IExtension extensionObject; IExtension IExtensible.GetExtensionObject(bool createIfMissing) { return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); } } }