|
| virtual | ~LANAPIInterface () |
| |
| virtual void | init (void)=0 |
| | Initialize or re-initialize the instance.
|
| |
| virtual void | reset (void)=0 |
| | reset the logic system
|
| |
| virtual void | update (void)=0 |
| | update the world
|
| |
| virtual void | setIsActive (Bool isActive)=0 |
| | Tell TheLAN whether or not the app is active.
|
| |
| virtual void | RequestLocations (void)=0 |
| | Request everybody to respond with where they are.
|
| |
| virtual void | RequestGameJoin (LANGameInfo *game, UnsignedInt ip=0)=0 |
| | Request to join a game.
|
| |
| virtual void | RequestGameJoinDirectConnect (UnsignedInt ipaddress)=0 |
| | Request to join a game at an IP address.
|
| |
| virtual void | RequestGameLeave (void)=0 |
| | Tell everyone we're leaving.
|
| |
| virtual void | RequestAccept (void)=0 |
| | Indicate we're OK with the game options.
|
| |
| virtual void | RequestHasMap (void)=0 |
| | Send our map status.
|
| |
| virtual void | RequestChat (UnicodeString message, ChatType format)=0 |
| | Send a chat message.
|
| |
| virtual void | RequestGameStart (void)=0 |
| | Tell everyone the game is starting.
|
| |
| virtual void | RequestGameStartTimer (Int seconds)=0 |
| |
| virtual void | RequestGameOptions (AsciiString gameOptions, Bool isPublic, UnsignedInt ip=0)=0 |
| | Change the game options.
|
| |
| virtual void | RequestGameCreate (UnicodeString gameName, Bool isDirectConnect)=0 |
| | Try to host a game.
|
| |
| virtual void | RequestGameAnnounce (void)=0 |
| | Sound out current game info if host.
|
| |
| virtual void | RequestSetName (UnicodeString newName)=0 |
| | Pick a new name.
|
| |
| virtual void | RequestLobbyLeave (Bool forced)=0 |
| | Announce that we're leaving the lobby.
|
| |
| virtual void | ResetGameStartTimer (void)=0 |
| |
| UnicodeString | getErrorStringFromReturnType (ReturnType ret) |
| |
| virtual void | OnGameList (LANGameInfo *gameList)=0 |
| | List of games.
|
| |
| virtual void | OnPlayerList (LANPlayer *playerList)=0 |
| | List of players in the Lobby.
|
| |
| virtual void | OnGameJoin (ReturnType ret, LANGameInfo *theGame)=0 |
| | Did we get in the game?
|
| |
| virtual void | OnPlayerJoin (Int slot, UnicodeString playerName)=0 |
| | Someone else joined our game (host only; joiners get a slotlist)
|
| |
| virtual void | OnHostLeave (void)=0 |
| | Host left the game.
|
| |
| virtual void | OnPlayerLeave (UnicodeString player)=0 |
| | Someone left the game.
|
| |
| virtual void | OnAccept (UnsignedInt playerIP, Bool status)=0 |
| | Someone's accept status changed.
|
| |
| virtual void | OnHasMap (UnsignedInt playerIP, Bool status)=0 |
| | Someone's map status changed.
|
| |
| virtual void | OnChat (UnicodeString player, UnsignedInt ip, UnicodeString message, ChatType format)=0 |
| | Chat message from someone.
|
| |
| virtual void | OnGameStart (void)=0 |
| | The game is starting.
|
| |
| virtual void | OnGameStartTimer (Int seconds)=0 |
| |
| virtual void | OnGameOptions (UnsignedInt playerIP, Int playerSlot, AsciiString options)=0 |
| | Someone sent game options.
|
| |
| virtual void | OnGameCreate (ReturnType ret)=0 |
| | Your game is created.
|
| |
| virtual void | OnNameChange (UnsignedInt IP, UnicodeString newName)=0 |
| | Someone has morphed.
|
| |
| virtual LANGameInfo * | LookupGame (UnicodeString gameName)=0 |
| | return a pointer to a game we know about
|
| |
| virtual LANGameInfo * | LookupGameByListOffset (Int offset)=0 |
| | return a pointer to a game we know about
|
| |
| virtual Bool | SetLocalIP (UnsignedInt localIP)=0 |
| | For multiple NIC machines.
|
| |
| virtual void | SetLocalIP (AsciiString localIP)=0 |
| | For multiple NIC machines.
|
| |
| virtual Bool | AmIHost (void)=0 |
| | Am I hosting a game?
|
| |
| virtual UnicodeString | GetMyName (void)=0 |
| | What's my name?
|
| |
| virtual LANGameInfo * | GetMyGame (void)=0 |
| | What's my Game?
|
| |
| virtual void | fillInLANMessage (LANMessage *msg)=0 |
| | Fill in default params.
|
| |
| virtual void | checkMOTD (void)=0 |
| |
| | SubsystemInterface () |
| |
| virtual | ~SubsystemInterface () |
| |
| virtual void | postProcessLoad () |
| |
| virtual void | draw (void) |
| |
| void | UPDATE (void) |
| |
| void | DRAW (void) |
| |
| AsciiString | getName (void) |
| |
| void | setName (AsciiString name) |
| |
The LANAPI class is used to instantiate a singleton which implements the interface to all LAN broadcast communications.
Definition at line 60 of file LANAPI.h.