Exemplo n.º 1
0
 public static Offset <BeefMapObject> CreateBeefMapObject(FlatBufferBuilder builder,
                                                          VectorOffset BuildingDatasOffset     = default(VectorOffset),
                                                          VectorOffset RoadDatasOffset         = default(VectorOffset),
                                                          VectorOffset NodeDatasOffset         = default(VectorOffset),
                                                          Offset <StringDictionary> InfoOffset = default(Offset <StringDictionary>))
 {
     builder.StartObject(4);
     BeefMapObject.AddInfo(builder, InfoOffset);
     BeefMapObject.AddNodeDatas(builder, NodeDatasOffset);
     BeefMapObject.AddRoadDatas(builder, RoadDatasOffset);
     BeefMapObject.AddBuildingDatas(builder, BuildingDatasOffset);
     return(BeefMapObject.EndBeefMapObject(builder));
 }
Exemplo n.º 2
0
 public static BeefMapObject GetRootAsBeefMapObject(ByteBuffer _bb, BeefMapObject obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }