示例#1
0
 public static Offset <VigorInfo> CreateVigorInfo(FlatBufferBuilder builder,
                                                  int id       = 0,
                                                  int price_hc = 0,
                                                  int vigor    = 0)
 {
     builder.StartObject(3);
     VigorInfo.AddVigor(builder, vigor);
     VigorInfo.AddPriceHc(builder, price_hc);
     VigorInfo.AddId(builder, id);
     return(VigorInfo.EndVigorInfo(builder));
 }
示例#2
0
 public VigorInfo GetVigor(VigorInfo obj, int j)
 {
     int o = __offset(18); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null);
 }
示例#3
0
 public static VigorInfo GetRootAsVigorInfo(ByteBuffer _bb, VigorInfo obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }