forked from UNLOZE/sm-plugins
NoSteamManager: Update include + native.
This commit is contained in:
+4
-17
@@ -3,21 +3,6 @@
|
||||
#endif
|
||||
#define _RevEmuAPI_included
|
||||
|
||||
enum RevEmu_UserType
|
||||
{
|
||||
Invalid = -1,
|
||||
SteamLegitUser = 0,
|
||||
SteamCrackedUser,
|
||||
RevEmuUser,
|
||||
RevEmuUserOld,
|
||||
SettiSRCScanBot,
|
||||
RevEmuUserV74,
|
||||
RevEmuUserVeryOld,
|
||||
UnknownUser,
|
||||
Steam2Legit,
|
||||
Steam2Cracked
|
||||
};
|
||||
|
||||
/**
|
||||
* Check if clients usertype is legit.
|
||||
*
|
||||
@@ -32,11 +17,13 @@ native bool RevEmu_IsPlayerSteam(int client);
|
||||
* Retrieve clients usertype.
|
||||
*
|
||||
* @param clients The client index.
|
||||
* @param type The buffer to write to.
|
||||
* @param maxlength The maximum buffer length.
|
||||
*
|
||||
* @return The clients usertype.
|
||||
* @return True on success, false otherwise.
|
||||
* @error Invalid client index, not connected or fake client.
|
||||
*/
|
||||
native RevEmu_UserType RevEmu_GetPlayerType(int client);
|
||||
native bool RevEmu_GetPlayerType(int client, char[] type, int maxlength);
|
||||
|
||||
|
||||
public Extension __ext_RevEmuAPI =
|
||||
|
||||
Reference in New Issue
Block a user