X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fclient.qh;h=26388e7b37e417cab785c318673ffec45462c6a5;hp=2d3a099b3988bc715589d9f5018fd310be1fc7f6;hb=38c06c5268cda2d14394f627a93f7fb0b7811725;hpb=ec98f5c9d50f267779fed871c9eb094a52064219 diff --git a/qcsrc/server/client.qh b/qcsrc/server/client.qh index 2d3a099b39..26388e7b37 100644 --- a/qcsrc/server/client.qh +++ b/qcsrc/server/client.qh @@ -17,7 +17,7 @@ CLASS(Client, Object) /** Client IP */ ATTRIB(Client, netaddress, string, this.netaddress); ATTRIB(Client, playermodel, string, this.playermodel); - ATTRIB(Client, playerskin, int, this.playerskin); + ATTRIB(Client, playerskin, string, this.playerskin); /** fingerprint of CA key the player used to authenticate */ ATTRIB(Client, crypto_keyfp, string, this.crypto_keyfp); @@ -226,6 +226,8 @@ METHOD(Client, m_unwind, bool(Client this)) return false; } +bool PlayerInList(entity player, string list); + /// \brief Print the string to the client's chat. /// \param[in] client Client to print to. /// \param[in] text Text to print. @@ -274,8 +276,6 @@ void FixPlayermodel(entity player); void ClientInit_misc(entity this); -void ClientKill_TeamChange(entity this, float targetteam); // 0 = don't change, -1 = auto, -2 = spec - bool joinAllowed(entity this); void Join(entity this);