public static Offset <UdpMessages.ServerClientMessages.RoomCreatedMessage> CreateRoomCreatedMessage(FlatBufferBuilder builder, byte teamSize = 0, ulong roomToken = 0) { builder.StartTable(2); RoomCreatedMessage.AddRoomToken(builder, roomToken); RoomCreatedMessage.AddTeamSize(builder, teamSize); return(RoomCreatedMessage.EndRoomCreatedMessage(builder)); }
public static RoomCreatedMessage GetRootAsRoomCreatedMessage(ByteBuffer _bb, RoomCreatedMessage obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }