Skip to content

Commit

Permalink
Engine: Add pfnFilteredClientCmd
Browse files Browse the repository at this point in the history
  • Loading branch information
tmp64 committed Dec 16, 2023
1 parent bb8baae commit 4f0973a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/engine/APIProxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -1360,6 +1360,14 @@ struct cl_enginefunc_t
* @param y Y offset.
*/
void (*pfnVguiWrap2_GetMouseDelta)(int *x, int *y);

/**
* Enqueues a command for execution for the local client.
* The command is validated prior to execution. If it contains unsafe commands, it won't be executed.
* @param pszCmdString Command string.
* @return true if the command was enqueued, false otherwise.
*/
void (*pfnEngDst_pfnFilteredClientCmd)(const char **);
};

#endif

0 comments on commit 4f0973a

Please sign in to comment.