public byte[] ToBin() { NetSocket.ByteArray bin = new NetSocket.ByteArray(); bin.Put((byte)type); bin.Put(innerUnion.ToBin(type)); return(bin.GetData()); }
public new byte[] ToBin() { NetSocket.ByteArray bin = new NetSocket.ByteArray(); bin.Put(base.ToBin()); bin.Put((byte)eventType); bin.Put(innerUnion.ToBin(eventType)); return(bin.GetData()); }
public new byte[] ToBin() { NetSocket.ByteArray bin = new NetSocket.ByteArray(); bin.Put(base.ToBin()); //10 bin.Put((byte)type); //1 bin.Put(area_id); //1 bin.Put(city_id); //8 bin.Put(innerUnion.ToBin(type)); //11 return(bin.GetData()); }
public new byte[] ToBin() { NetSocket.ByteArray bin = new NetSocket.ByteArray(); bin.Put(base.ToBin()); bin.Put(shop_idx); bin.Put(item_idx); bin.Put(item_count); bin.Put(innerUnion.ToBin(buyType)); return(bin.GetData()); }