Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
 public static void AddCommandType(FlatBufferBuilder builder, hyperionnet.Command commandType)
 {
     builder.AddByte(0, (byte)commandType, 0);
 }