Plugin API - callofduty4x/CoD4x_Server GitHub Wiki

Summary

Members Descriptions
public inline void trap_Com_Printf(const char *const Format_,...) Prints formatted message to a console window.
public inline void trap_Com_Error(const char *const Error_,...)
public inline void trap_Com_PrintError(const char *const Fmt_,...)
public inline void trap_Com_DPrintf(const char *const Format_,...)
public inline void trap_Com_PrintWarning(const char *const Fmt_,...)
public inline void trap_Cbuf_AddText(const char *const Text_)
public inline void trap_SV_SetConfigString(const int Index_,const char *const Value_)
public inline void trap_SV_GetConfigString(const int Index_,char *const Buffer_,const int BufferSize_)
public inline int trap_SV_GetStat(const int ClientNum_,const unsigned int Index_)
public inline void trap_SV_SetStat(const int ClientNum_,const unsigned int Index_,const int Value_)
public inline void trap_RemoveBanByIP(const netadr_t *const Client_)
public inline void trap_AddBanByIP(const netadr_t *const Client_,const char * Message_,const int Expire_)

Members

trap_Com_Printf

Prints formatted message to a console window.

Parameters

  • Format_ - Format of message similar to printf function.

public inline void trap_Com_Error(const char *const Error_,...)

public inline void trap_Com_PrintError(const char *const Fmt_,...)

public inline void trap_Com_DPrintf(const char *const Format_,...)

public inline void trap_Com_PrintWarning(const char *const Fmt_,...)

public inline void trap_Cbuf_AddText(const char *const Text_)

public inline void trap_SV_SetConfigString(const int Index_,const char *const Value_)

public inline void trap_SV_GetConfigString(const int Index_,char *const Buffer_,const int BufferSize_)

public inline int trap_SV_GetStat(const int ClientNum_,const unsigned int Index_)

public inline void trap_SV_SetStat(const int ClientNum_,const unsigned int Index_,const int Value_)

public inline void trap_RemoveBanByIP(const netadr_t *const Client_)

public inline void trap_AddBanByIP(const netadr_t *const Client_,const char * Message_,const int Expire_)

Generated by Moxygen