enum authemu_os_type { aos_unknown, aos_win95, aos_win98, aos_winME, aos_winNT_4, aos_win2000, aos_winXP, aos_winXPx64Edition, aos_winServer2003, aos_winHomeServer, aos_win2003R2, aos_winVista, aos_winServer2008, aos_winServer2008R2, aos_win7, aos_winServer2012, aos_win8, aos_winServer2012R2, aos_win81, aos_winServer2016, aos_win10 };
enum authemu_client_info { /* * Description: The build number. * Data type: int * Get params: aemu_get_clientinfo(const index, authemu_client_info:aci_type); */ aci_build = 0, /* * Description: The build hash. (NOTE: It's not unique ID of client) * Data type: int * Get params: aemu_get_clientinfo(const index, authemu_client_info:aci_type); */ aci_hash, /* * Description: Last unix-time when the client was updated. * Data type: int * Get params: aemu_get_clientinfo(const index, authemu_client_info:aci_type); */ aci_lasttime_upd, /* * Description: The tag name of the branch. * Data type: char * * Get params: aemu_get_clientinfo(const index, authemu_client_info:aci_type, dest[], const lenght); */ aci_tag, /* * Description: This means that the client run on Steam. * Data type: bool * Get params: bool:aemu_get_clientinfo(const index, authemu_client_info:aci_type); */ aci_steam, /* * Description: This means that the client run on '-beta'. * Data type: bool * Get params: bool:aemu_get_clientinfo(const index, authemu_client_info:aci_type); */ aci_beta, /* * Description: This means that the client synchronized to depot. * Data type: bool * Get params: bool:aemu_get_clientinfo(const index, authemu_client_info:aci_type); */ aci_synchronized, /* * Description: The unique hash ID of client. * Data type: char [65] * Get params: aemu_get_clientinfo(const index, authemu_client_info:aci_type); */ aci_unique_id, /* * Description: Type of operating system that the client uses. * Data type: enum authemu_os_type * Get params: authemu_os_type:aemu_get_clientinfo(const index, authemu_client_info:aci_type); */ aci_OS_type, /* * Description: Name of operating system that the client uses. * Data type: char * * Get params: aemu_get_clientinfo(const index, authemu_client_info:aci_type, dest[], const lenght); */ aci_OS_name, /* * Description: The build OS number. * Data type: int * Get params: aemu_get_clientinfo(const index, authemu_client_info:aci_type); */ aci_OS_build, /* * Description: The number of the major version OS. * Data type: int * Get params: aemu_get_clientinfo(const index, authemu_client_info:aci_type); */ aci_OS_majorVersion, /* * Description: The number of the minor version OS. * Data type: int * Get params: aemu_get_clientinfo(const index, authemu_client_info:aci_type); */ aci_OS_minorVersion, /* * Description: The brand name of the processor. * Data type: char * * Get params: aemu_get_clientinfo(const index, authemu_client_info:aci_type, dest[], const lenght); */ aci_CPU_name, /* * Description: The ID of the processor 'AS IS'. * Data type: char * * Get params: aemu_get_clientinfo(const index, authemu_client_info:aci_type, dest[], const lenght); */ aci_CPU_id, /* * Description: The brand name of the graphics processor. * Data type: char * * Get params: aemu_get_clientinfo(const index, authemu_client_info:aci_type, dest[], const lenght); */ aci_GPU_name, /* * Description: The ID of the graphics processor 'AS IS'. * Data type: char * * Get params: aemu_get_clientinfo(const index, authemu_client_info:aci_type, dest[], const lenght); */ aci_GPU_id, /* * Description: The name of the user agent who serves the client. * Data type: char * * Get params: aemu_get_clientinfo(const index, authemu_client_info:aci_type, dest[], const lenght); */ aci_useragent, /* * Description: The branch name of the branch. * Data type: char * * Get params: aemu_get_clientinfo(const index, authemu_client_info:aci_type, dest[], const lenght); */ aci_branch, /* * Description: The fork name of the branch if present. * Data type: char * * Get params: aemu_get_clientinfo(const index, authemu_client_info:aci_type, dest[], const lenght); */ aci_fork };
enum BranchType { BRANCH_MASTER = 0, BRANCH_BETA, BRANCH_FORK, };
public __authemu_version_check(const majorVersion, const minorVersion) { if (majorVersion != AUTHEMU_VERSION_MAJOR) { new temp[512]; formatex(temp, sizeof temp - 1, "[AuthEmu]: Api major version mismatch; expected %d, real %d", AUTHEMU_VERSION_MAJOR, majorVersion); set_fail_state(temp); return; } if (minorVersion < AUTHEMU_VERSION_MINOR) { new temp[512]; formatex(temp, sizeof temp - 1, "[AuthEmu]: Api minor version mismatch; expected at least %d, real %d", AUTHEMU_VERSION_MINOR, minorVersion); set_fail_state(temp); return; } }
This documentation was automatically generated using pawn-docgen made by xPaw for AlliedMods.