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)); }
public static JoinRoomCommand GetRootAsJoinRoomCommand(ByteBuffer _bb, JoinRoomCommand obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }