#include "enginefuncs.h" void MyGameLogicFunction() { cl_enginefunc_t* engine = GetEngineFunctions(); int current_map = engine->pfnGetCurrentMap(); engine->pfnServerPrint("The current map is: %s\n", current_map); }In this example, we include the enginefuncs.h header file, which contains the definition of the cl_enginefunc_t struct. We then define a function called MyGameLogicFunction, which gets a pointer to the engine function struct using the GetEngineFunctions() function. We then use the pfnGetCurrentMap() and pfnServerPrint() functions from the engine function struct to print the current map name to the server console. The package library for cl_enginefunc_t is part of the Source Engine SDK, which is included with the development tools for Source Engine games such as Half-Life 2, Counter-Strike: Source, and Team Fortress 2.