コード例 #1
0
 public static Offset <GetPayPerPlayStatistics_DEPRECATED> CreateGetPayPerPlayStatistics_DEPRECATED(FlatBufferBuilder builder,
                                                                                                    ulong timestamp_begin = 0,
                                                                                                    ulong timestamp_end   = 0,
                                                                                                    byte range            = 0,
                                                                                                    uint offset           = 0)
 {
     builder.StartObject(4);
     GetPayPerPlayStatistics_DEPRECATED.AddTimestampEnd(builder, timestamp_end);
     GetPayPerPlayStatistics_DEPRECATED.AddTimestampBegin(builder, timestamp_begin);
     GetPayPerPlayStatistics_DEPRECATED.AddOffset(builder, offset);
     GetPayPerPlayStatistics_DEPRECATED.AddRange(builder, range);
     return(GetPayPerPlayStatistics_DEPRECATED.EndGetPayPerPlayStatistics_DEPRECATED(builder));
 }
コード例 #2
0
 public static GetPayPerPlayStatistics_DEPRECATED GetRootAsGetPayPerPlayStatistics_DEPRECATED(ByteBuffer _bb, GetPayPerPlayStatistics_DEPRECATED obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }