Esempio n. 1
0
 public static Offset <JoinRoomCommand> CreateJoinRoomCommand(FlatBufferBuilder builder,
                                                              StringOffset tokenOffset  = default(StringOffset),
                                                              StringOffset roomIdOffset = default(StringOffset))
 {
     builder.StartObject(2);
     JoinRoomCommand.AddRoomId(builder, roomIdOffset);
     JoinRoomCommand.AddToken(builder, tokenOffset);
     return(JoinRoomCommand.EndJoinRoomCommand(builder));
 }
Esempio n. 2
0
 public static JoinRoomCommand GetRootAsJoinRoomCommand(ByteBuffer _bb, JoinRoomCommand obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }