This wiki is archived from 2021-09-05
Planetary Annihilation net API
Jump to navigation
Jump to search
File:Titans-icon.png Planetary Annihilation net API
api.net.startGame( region, mode )
create a new local or Uber game:
- region: local or valid Uber region string
- mode: Config or gw optionally prefixed with content eg PAExpansion1:Config for Titans
returns object with:
- LobbyId (string)
- ServerHostname (string)
- ServerPort (string)
- Ticket (string)
- Expires (string)
api.net.joinGame( params)
joins an Uber game based on a lobbyId:
- lobbyId (string)
- all other params are ignored
returns object with:
- ServerHostName
- ServerPort