GetGameDescription Function

Returns the game description from the mod.

int GetGameDescription(char[] buffer, int maxlength, bool original)

Parameters

char[] buffer

Buffer to store the description.

int maxlength

Maximum size of the buffer.

bool original

If true, retrieves the original game description, ignoring any potential hooks from plugins.

Return Value

Number of bytes written to the buffer (UTF-8 safe).