_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Public Member Functions | List of all members
OnlineContext Class Referenceabstract

#include <online_service.h>

Inheritance diagram for OnlineContext:
Context

Public Member Functions

virtual ~OnlineContext ()
 
virtual bool handleUDP (const unsigned char *buffer, int len, CHost host)=0
 
virtual void doOneStep ()=0
 
virtual void joinGame (std::string hostPlayerName, std::string pw)=0
 
virtual void leaveGame ()=0
 
virtual void startAdvertising (bool isStarted=false)=0
 
virtual void stopAdvertising ()=0
 
virtual void reportGameResult ()=0
 

Constructor & Destructor Documentation

◆ ~OnlineContext()

virtual OnlineContext::~OnlineContext ( )
inlinevirtual

Member Function Documentation

◆ doOneStep()

virtual void OnlineContext::doOneStep ( )
pure virtual

Implemented in Context.

◆ handleUDP()

virtual bool OnlineContext::handleUDP ( const unsigned char *  buffer,
int  len,
CHost  host 
)
pure virtual

Implemented in Context.

◆ joinGame()

virtual void OnlineContext::joinGame ( std::string  hostPlayerName,
std::string  pw 
)
pure virtual

Implemented in Context.

◆ leaveGame()

virtual void OnlineContext::leaveGame ( )
pure virtual

Implemented in Context.

◆ reportGameResult()

virtual void OnlineContext::reportGameResult ( )
pure virtual

Implemented in Context.

◆ startAdvertising()

virtual void OnlineContext::startAdvertising ( bool  isStarted = false)
pure virtual

Implemented in Context.

◆ stopAdvertising()

virtual void OnlineContext::stopAdvertising ( )
pure virtual

Implemented in Context.


The documentation for this class was generated from the following file:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.