public void addToStreamEx(Bundle stream, SPACE_INFO v) { stream.writeUint64(v.space_key); stream.writeUint8(v.player_count); stream.writeInt8(v.space_state); stream.writeInt32(v.space_creater); }
public SPACE_INFO createFromStreamEx(MemoryStream stream) { SPACE_INFO datas = new SPACE_INFO(); datas.space_key = stream.readUint64(); datas.player_count = stream.readUint8(); datas.space_state = stream.readInt8(); datas.space_creater = stream.readInt32(); return(datas); }