public static Offset <InputRequest> CreateInputRequest(FlatBufferBuilder builder,
                                                        int milliseconds = 0,
                                                        Command command  = 0)
 {
     builder.StartObject(2);
     InputRequest.AddCommand(builder, command);
     InputRequest.AddMilliseconds(builder, milliseconds);
     return(InputRequest.EndInputRequest(builder));
 }
 public static InputRequest GetRootAsInputRequest(ByteBuffer _bb, InputRequest obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }
Exemple #3
0
 public static InputRequest GetRootAsInputRequest(ByteBuffer _bb, InputRequest obj)
 {
     return (obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }