Ejemplo n.º 1
0
 public static Offset <UdpMessages.ClientServerMessages.CreateRoomMessage> CreateCreateRoomMessage(FlatBufferBuilder builder,
                                                                                                   byte teamSize = 0,
                                                                                                   StringOffset usernameOffset = default(StringOffset))
 {
     builder.StartTable(2);
     CreateRoomMessage.AddUsername(builder, usernameOffset);
     CreateRoomMessage.AddTeamSize(builder, teamSize);
     return(CreateRoomMessage.EndCreateRoomMessage(builder));
 }
Ejemplo n.º 2
0
 public static CreateRoomMessage GetRootAsCreateRoomMessage(ByteBuffer _bb, CreateRoomMessage obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }