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)); }
public VigorInfo GetVigor(VigorInfo obj, int j) { int o = __offset(18); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null); }
public static VigorInfo GetRootAsVigorInfo(ByteBuffer _bb, VigorInfo obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }