SpaghettiKart
Loading...
Searching...
No Matches
SpawnParams.h File Reference
#include <vector>
#include <optional>
#include <string>
#include <nlohmann/json.hpp>
#include "CoreMath.h"
#include "common_structs.h"
Include dependency graph for SpawnParams.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  SpawnParams
 

Functions

template<typename T>
void get_optional_to (const nlohmann::json &j, const char *key, std::optional< T > &opt_val)
 
template<typename T>
void set_optional_from (nlohmann::json &j, const char *key, const std::optional< T > &opt_val)
 

Function Documentation

◆ get_optional_to()

template<typename T>
void get_optional_to ( const nlohmann::json & j,
const char * key,
std::optional< T > & opt_val )
Here is the caller graph for this function:

◆ set_optional_from()

template<typename T>
void set_optional_from ( nlohmann::json & j,
const char * key,
const std::optional< T > & opt_val )
Here is the caller graph for this function: