|
NSUNI/NSLAR Library a250670
|
Contains functions and structures for working with spawn position configs. More...
#include <vector>#include "NNL/common/io.hpp"#include "NNL/simple_asset/sasset3d.hpp"#include "NNL/utility/data.hpp"Go to the source code of this file.
Classes | |
| struct | nnl::posd::Position |
| Represents a spawn position in the world. More... | |
Namespaces | |
| namespace | nnl |
| namespace | nnl::posd |
| Contains functions and structures for working with spawn position configs. | |
Typedefs | |
| using | nnl::posd::PositionData = std::vector<Position> |
| A vector of Position structs. | |
Functions | |
| std::vector< SPosition > | nnl::posd::Convert (const PositionData &posd) |
| Converts a spawn position config into a format that is more suitable for further exporting into other formats. | |
| PositionData | nnl::posd::Convert (const std::vector< SPosition > &positions) |
| Converts a vector of spawn positions to a spawn position config. | |
| bool | nnl::posd::IsOfType (BufferView buffer) |
| Tests if the provided file is a spawn position config. | |
| PositionData | nnl::posd::Import (BufferView buffer) |
| Parses a binary file and converts it to PositionData. | |
| Buffer | nnl::posd::Export (const PositionData &posd) |
| Converts a spawn position config to a binary file representation. | |
Variables | |
| constexpr u32 | nnl::posd::raw::kMagicBytes = utl::data::FourCC("POSD") |
| Magic bytes. | |
Contains functions and structures for working with spawn position configs.