Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
 public static NetLeaderboard GetRootAsNetLeaderboard(ByteBuffer _bb, NetLeaderboard obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }