public static Offset <NetLeaderboard> CreateNetLeaderboard(FlatBufferBuilder builder, StringOffset typeOffset = default(StringOffset), VectorOffset entriesOffset = default(VectorOffset), Offset <NetLeaderboardEntry> recordOffset = default(Offset <NetLeaderboardEntry>)) { builder.StartObject(3); NetLeaderboard.AddRecord(builder, recordOffset); NetLeaderboard.AddEntries(builder, entriesOffset); NetLeaderboard.AddType(builder, typeOffset); return(NetLeaderboard.EndNetLeaderboard(builder)); }
public static NetLeaderboard GetRootAsNetLeaderboard(ByteBuffer _bb, NetLeaderboard obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }