public static Offset <GetPayPerPlayStatistics> CreateGetPayPerPlayStatistics(FlatBufferBuilder builder, ulong timestamp_begin = 0, ulong timestamp_end = 0, byte range = 0, uint offset = 0, sisyfox.sisycol.TimeFrame frame = sisyfox.sisycol.TimeFrame.HOURLY, StringOffset timezoneOffset = default(StringOffset)) { builder.StartObject(6); GetPayPerPlayStatistics.AddTimestampEnd(builder, timestamp_end); GetPayPerPlayStatistics.AddTimestampBegin(builder, timestamp_begin); GetPayPerPlayStatistics.AddTimezone(builder, timezoneOffset); GetPayPerPlayStatistics.AddOffset(builder, offset); GetPayPerPlayStatistics.AddFrame(builder, frame); GetPayPerPlayStatistics.AddRange(builder, range); return(GetPayPerPlayStatistics.EndGetPayPerPlayStatistics(builder)); }
public static GetPayPerPlayStatistics GetRootAsGetPayPerPlayStatistics(ByteBuffer _bb, GetPayPerPlayStatistics obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }