mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
[Server] Make GetFactionExpelledState() return a bool instead of an int
This commit is contained in:
parent
a2e2ca7cab
commit
0595192129
@ -46,7 +46,7 @@ int FactionFunctions::GetFactionRank(unsigned short pid, unsigned int i) noexcep
|
||||
return player->factionChanges.factions.at(i).rank;
|
||||
}
|
||||
|
||||
int FactionFunctions::GetFactionExpelledState(unsigned short pid, unsigned int i) noexcept
|
||||
bool FactionFunctions::GetFactionExpelledState(unsigned short pid, unsigned int i) noexcept
|
||||
{
|
||||
Player *player;
|
||||
GET_PLAYER(pid, player, 0);
|
||||
|
@ -22,7 +22,7 @@ public:
|
||||
|
||||
static const char *GetFactionId(unsigned short pid, unsigned int i) noexcept;
|
||||
static int GetFactionRank(unsigned short pid, unsigned int i) noexcept;
|
||||
static int GetFactionExpelledState(unsigned short pid, unsigned int i) noexcept;
|
||||
static bool GetFactionExpelledState(unsigned short pid, unsigned int i) noexcept;
|
||||
|
||||
static void SendFactionChanges(unsigned short pid) noexcept;
|
||||
private:
|
||||
|
Loading…
x
Reference in New Issue
Block a user