public static Offset <GetGameRewardsRsp> CreateGetGameRewardsRsp(FlatBufferBuilder builder, int IsDouble = 0, int IsUseHc = 0, VectorOffset RewardsOffset = default(VectorOffset), VectorOffset CountsOffset = default(VectorOffset)) { builder.StartObject(4); GetGameRewardsRsp.AddCounts(builder, CountsOffset); GetGameRewardsRsp.AddRewards(builder, RewardsOffset); GetGameRewardsRsp.AddIsUseHc(builder, IsUseHc); GetGameRewardsRsp.AddIsDouble(builder, IsDouble); return(GetGameRewardsRsp.EndGetGameRewardsRsp(builder)); }
public static GetGameRewardsRsp GetRootAsGetGameRewardsRsp(ByteBuffer _bb, GetGameRewardsRsp obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }