public static Offset <BuddyExpInfo> CreateBuddyExpInfo(FlatBufferBuilder builder, int id = 0, int price_hc = 0, int base_buddy_exp = 0, int level_inc_buddy_exp = 0, int rate_2 = 0, int rate_3 = 0, int rate_10 = 0) { builder.StartObject(7); BuddyExpInfo.AddRate10(builder, rate_10); BuddyExpInfo.AddRate3(builder, rate_3); BuddyExpInfo.AddRate2(builder, rate_2); BuddyExpInfo.AddLevelIncBuddyExp(builder, level_inc_buddy_exp); BuddyExpInfo.AddBaseBuddyExp(builder, base_buddy_exp); BuddyExpInfo.AddPriceHc(builder, price_hc); BuddyExpInfo.AddId(builder, id); return(BuddyExpInfo.EndBuddyExpInfo(builder)); }
public BuddyExpInfo GetBuddyExp(BuddyExpInfo obj, int j) { int o = __offset(24); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null); }
public static BuddyExpInfo GetRootAsBuddyExpInfo(ByteBuffer _bb, BuddyExpInfo obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }