public ProtoTable Register(ProtoTable table, int index = -1) { lock (lockObject) { if (index < 0) { index = Count; } if (index > Count) { index = Count; } ProtoList.Insert(index, table); return(table); } }
public ProtoListTable(ProtoTable proto) { Register(proto); }
public PacketProto(uint id, DataStream stream, ProtoTable proto) : base(id, stream) { ProtoTable = proto; }