mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 23:51:09 -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;
|
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;
|
Player *player;
|
||||||
GET_PLAYER(pid, player, 0);
|
GET_PLAYER(pid, player, 0);
|
||||||
|
@ -22,7 +22,7 @@ public:
|
|||||||
|
|
||||||
static const char *GetFactionId(unsigned short pid, unsigned int i) noexcept;
|
static const char *GetFactionId(unsigned short pid, unsigned int i) noexcept;
|
||||||
static int GetFactionRank(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;
|
static void SendFactionChanges(unsigned short pid) noexcept;
|
||||||
private:
|
private:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user