Beispiel #1
0
 public static Offset <UdpMessages.ClientServerMessages.EnterRoomMessage> CreateEnterRoomMessage(FlatBufferBuilder builder,
                                                                                                 ulong roomToken             = 0,
                                                                                                 StringOffset usernameOffset = default(StringOffset))
 {
     builder.StartTable(2);
     EnterRoomMessage.AddRoomToken(builder, roomToken);
     EnterRoomMessage.AddUsername(builder, usernameOffset);
     return(EnterRoomMessage.EndEnterRoomMessage(builder));
 }
Beispiel #2
0
 public static EnterRoomMessage GetRootAsEnterRoomMessage(ByteBuffer _bb, EnterRoomMessage obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }