mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 14:57:44 +00:00
biscuit didn't copy my code correctly 😢
This commit is contained in:
parent
40f77ffd70
commit
7a64e5f33f
2 changed files with 4 additions and 3 deletions
|
@ -192,10 +192,11 @@ Core::Common::OnlineStatus Core::Entity::Player::getOnlineStatus()
|
||||||
// todo: also check that the status can actually be set here, otherwise we need to ignore it (and ban the player obv)
|
// todo: also check that the status can actually be set here, otherwise we need to ignore it (and ban the player obv)
|
||||||
statusDisplayOrder = pOnlineStatus->priority;
|
statusDisplayOrder = pOnlineStatus->priority;
|
||||||
applicableStatus = i;
|
applicableStatus = i;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return static_cast< OnlineStatus >( applicableStatus );
|
return static_cast< OnlineStatus >( applicableStatus );
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void Core::Entity::Player::setOnlineStatusMask( uint64_t status )
|
void Core::Entity::Player::setOnlineStatusMask( uint64_t status )
|
||||||
{
|
{
|
||||||
|
|
|
@ -12,10 +12,10 @@
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
|
||||||
#include <winbase.h>
|
#include <winbase.h>
|
||||||
typedef HMODULE ModuleHandle;
|
using ModuleHandle = HMODULE;
|
||||||
#else
|
#else
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
typedef void* ModuleHandle;
|
using ModuleHandle = void*;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
|
|
Loading…
Add table
Reference in a new issue