public static Offset <hyperionnet.Request> CreateRequest(FlatBufferBuilder builder, hyperionnet.Command command_type = hyperionnet.Command.NONE, int commandOffset = 0) { builder.StartTable(2); Request.AddCommand(builder, commandOffset); Request.AddCommandType(builder, command_type); return(Request.EndRequest(builder)); }
public static void AddCommandType(FlatBufferBuilder builder, hyperionnet.Command commandType) { builder.AddByte(0, (byte)commandType, 0); }