AW EVENT ADMIN WORLD DELETE

From ActiveWiki
Revision as of 04:48, 18 October 2008 by Macavity (talk | contribs) (Triggered by)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Minimum requirements
Added in version 3.1
SDKbuild 18
Worldbuild 28


AW_EVENT_ADMIN_WORLD_DELETE

Description

World configuration has been deleted.

Notes

This event only occurs for administration mode instances.

This event is triggered whenever a world configuration is deleted from the world server by a call to aw_server_world_delete, either by this admin instance or any other admin instance, including other administration applications that may be running at the same time.

Attributes

AW_SERVER_ID
Identifies the world that was deleted.

Usage

void handle_world_delete (void)
{
  printf ("World %d was just deleted.\n", aw_int (AW_SERVER_ID));
}

aw_event_set (AW_EVENT_ADMIN_WORLD_DELETE, handle_world_delete);

Triggered by

See also