RevEmuAPI: Fix formatting
This commit is contained in:
+14
-14
@@ -3,8 +3,8 @@
|
||||
|
||||
enum RevEmu_UserType
|
||||
{
|
||||
Unknown = -1,
|
||||
SteamLegitUser = 0,
|
||||
Invalid = -1,
|
||||
SteamLegitUser = 0,
|
||||
SteamCrackedUser,
|
||||
RevEmuUser,
|
||||
RevEmuUserOld,
|
||||
@@ -19,9 +19,9 @@ enum RevEmu_UserType
|
||||
/**
|
||||
* Check if clients usertype is legit.
|
||||
*
|
||||
* @param clients The client index.
|
||||
* @param clients The client index.
|
||||
*
|
||||
* @return True if valid, false otherwise.
|
||||
* @return True if valid, false otherwise.
|
||||
* @error Invalid client index, not connected or fake client.
|
||||
*/
|
||||
native bool RevEmu_IsPlayerSteam(int client);
|
||||
@@ -29,9 +29,9 @@ native bool RevEmu_IsPlayerSteam(int client);
|
||||
/**
|
||||
* Retrieve clients usertype.
|
||||
*
|
||||
* @param clients The client index.
|
||||
* @param clients The client index.
|
||||
*
|
||||
* @return The clients usertype.
|
||||
* @return The clients usertype.
|
||||
* @error Invalid client index, not connected or fake client.
|
||||
*/
|
||||
native RevEmu_UserType RevEmu_GetPlayerType(int client);
|
||||
@@ -39,25 +39,25 @@ native RevEmu_UserType RevEmu_GetPlayerType(int client);
|
||||
|
||||
public Extension __ext_RevEmuAPI =
|
||||
{
|
||||
name = "RevEmuAPI",
|
||||
file = "RevEmuAPI.ext",
|
||||
name = "RevEmuAPI",
|
||||
file = "RevEmuAPI.ext",
|
||||
#if defined AUTOLOAD_EXTENSIONS
|
||||
autoload = 1,
|
||||
autoload = 1,
|
||||
#else
|
||||
autoload = 0,
|
||||
autoload = 0,
|
||||
#endif
|
||||
#if defined REQUIRE_EXTENSIONS
|
||||
required = 1,
|
||||
required = 1,
|
||||
#else
|
||||
required = 0,
|
||||
required = 0,
|
||||
#endif
|
||||
};
|
||||
|
||||
#if !defined REQUIRE_EXTENSIONS
|
||||
public __ext_RevEmuAPI_SetNTVOptional()
|
||||
{
|
||||
MarkNativeAsOptional("RevEmu_IsPlayerSteam");
|
||||
MarkNativeAsOptional("RevEmu_GetPlayerType");
|
||||
MarkNativeAsOptional("RevEmu_IsPlayerSteam");
|
||||
MarkNativeAsOptional("RevEmu_GetPlayerType");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user