This wiki is archived and useful information is being migrated to the main bzflag.org website

Difference between revisions of "Bz getFlagName"

From BZFlagWiki
Jump to: navigation, search
m (Rename function to bz_getName() for now.)
m (Use the proper function name)
 
Line 2: Line 2:
 
{{BZFS_API_Funcs}}
 
{{BZFS_API_Funcs}}
 
==Prototype==
 
==Prototype==
BZF_API const [[bz_ApiString]] bz_getName( int flag );
+
BZF_API const [[bz_ApiString]] bz_getFlagName( int flag );
 
==Parameters==
 
==Parameters==
 
{| border="1" cellpadding="20" cellspacing="0"
 
{| border="1" cellpadding="20" cellspacing="0"

Latest revision as of 16:16, 12 June 2013

BZFS API Documentation This page contains part of the BZFS API documentation for use by Plug-ins on the BZFS server.
BZFS API Function. This page documents a BZFS_API Function, that is provided by the BZFS game server for plug-ins to call.

Prototype[edit]

BZF_API const bz_ApiString bz_getFlagName( int flag );

Parameters[edit]

name type value description
flag int the flag to return

Description[edit]

This API function returns the flag code for the specified flag.