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