Beispiel #1
0
 public static Offset <GetScoreStatistics> CreateGetScoreStatistics(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);
     GetScoreStatistics.AddTimestampEnd(builder, timestamp_end);
     GetScoreStatistics.AddTimestampBegin(builder, timestamp_begin);
     GetScoreStatistics.AddTimezone(builder, timezoneOffset);
     GetScoreStatistics.AddOffset(builder, offset);
     GetScoreStatistics.AddFrame(builder, frame);
     GetScoreStatistics.AddRange(builder, range);
     return(GetScoreStatistics.EndGetScoreStatistics(builder));
 }
Beispiel #2
0
 public static GetScoreStatistics GetRootAsGetScoreStatistics(ByteBuffer _bb, GetScoreStatistics obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }