L3DT documentation
Large 3D terrain generator

type_GetTypeName

Description

Get the name of a variable type, as a string variable, corresponding to a given variable type ID.

Function prototype

bool CExtAPI::type_GetTypeName(long VarID, ZVAR hStringVar);

Arguments

Name Type Comment
VarID long The variable type ID for which the corresponding name string is to be retrieved.
hStringVar ZVAR A ZVAR handle to a user-supplied string variable (created with var_Create, var_CreateTemp or list_CreateItem.)

Return value

False if an error occurred or the given VarID was not recognised, and true otherwise.

Comments

The value of the string contained in hStringVar can be retrieved using str_GetText.

 
zeolite/functions/type_gettypename.txt · Last modified: 2017/08/31 04:40 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki