RDR-Classes/script/globals/MPHostData.hpp
maybegreat48 22102c8ef5
feat(script): add some broadcast stuff (#20)
Co-authored-by: maybegreat48 <email@hostname>
2024-07-06 17:29:46 -04:00

25 lines
419 B
C++

#pragma once
#include "script/types.hpp"
enum class MPGameState
{
INVALID = -1,
GAME_INIT,
LOAD_INIT_THREADS,
LOAD_MAIN_THREADS,
ROUTE_TRANSITION,
CREATE_PLAYER_CAMP,
VERIFY_MADAM_NAZAR,
CHECK_FOR_INVITE,
SPAWN_PLAYER,
MAIN_UPDATE_FIRST_FRAME,
MAIN_UPDATE,
END,
ALL_LEAVE
};
struct MP_HOST_DATA
{
alignas(8) MPGameState GameState;
};
static_assert(sizeof(MP_HOST_DATA) == 1 * 8);