NodeServer.addWorld

Creates a group with the given name and adds the given world.

  1. shared(WorldInfo) addWorld(GroupInfo group, E args)
  2. shared(WorldInfo) addWorld(string name, E args)
    class NodeServer
    shared synchronized
    shared(WorldInfo)
    addWorld
    (
    T : World = World
    E...
    )
    (
    string name
    ,)

Examples

server.addWorld("test");

Meta