public static Offset <PayPerPlayStatistic_DEPRECATED> CreatePayPerPlayStatistic_DEPRECATED(FlatBufferBuilder builder, ulong timestamp = 0, uint generated_credits = 0, uint accepted_money = 0, uint credits_worth = 0) { builder.StartObject(4); PayPerPlayStatistic_DEPRECATED.AddTimestamp(builder, timestamp); PayPerPlayStatistic_DEPRECATED.AddCreditsWorth(builder, credits_worth); PayPerPlayStatistic_DEPRECATED.AddAcceptedMoney(builder, accepted_money); PayPerPlayStatistic_DEPRECATED.AddGeneratedCredits(builder, generated_credits); return(PayPerPlayStatistic_DEPRECATED.EndPayPerPlayStatistic_DEPRECATED(builder)); }
public static PayPerPlayStatistic_DEPRECATED GetRootAsPayPerPlayStatistic_DEPRECATED(ByteBuffer _bb, PayPerPlayStatistic_DEPRECATED obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }