‪GamecraftModdingAPI  ‪v1.8.0
‪The unofficial Gamecraft modding API
GamecraftModdingAPI.Utility.GameClient Class Reference

Static Public Member Functions

static void SetDebugInfo (string id, Func< string > contentGetter)
 ‪Saves the extra information to be displayed on the debug view. The provided getter function is called each time the view updates so make sure it returns quickly. More...
 

Member Function Documentation

◆ SetDebugInfo()

static void GamecraftModdingAPI.Utility.GameClient.SetDebugInfo ( string  id,
Func< string >  contentGetter 
)
inlinestatic

‪Saves the extra information to be displayed on the debug view. The provided getter function is called each time the view updates so make sure it returns quickly.

Parameters
id‪A global ID for the custom information
contentGetter‪A function that returns the current information

The documentation for this class was generated from the following file: