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

bz eGetWorldEvent

From BZFlagWiki
Revision as of 20:44, 30 November 2007 by Tulcod (Talk | contribs) (New page: {{BZFS_API_Doc}} {{BZFS_API_Events}} ==Overview== The '''bz_eGetWorldEvent''' is an API event that is called when the world is defined. ==Data== '''bz_eGetWorldEvent''' returns the '''bz...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
BZFS API Documentation This page contains part of the BZFS API documentation for use by Plug-ins on the BZFS server.

BZFS Event. This page documents a BZFS event that is called by the game server to notify plug-ins of various actions and state changes in the game world.


Overview

The bz_eGetWorldEvent is an API event that is called when the world is defined.

Data

bz_eGetWorldEvent returns the bz_GetWorldEventData_V1 data class.

name type value description
eventType bz_eEventType bz_eGetWorldEvent
generated bool Set to true if the world is generated (ie, not literally loaded from a file)
ctf bool Set to true if the game is a CTF-type game
rabit bool Set to true if the game is a Rabbit-type game
openFFA bool Set to true if the game is a Free for all-type game
worldFile bz_ApiString Path to the world file, set to "" (empty string) if not used
eventTime double Time of the event

Uses

This event is a notification only event, none of the data returned can be changed.