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

Classes | Functions | Variables
online_service.cpp File Reference
#include "online_service.h"
#include "results.h"
#include <winsock2.h>
#include <clocale>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <ios>
#include <iostream>
#include <map>
#include <ostream>
#include <queue>
#include <set>
#include <sstream>
#include <stdexcept>
#include <string>
#include <tuple>
#include <vector>
#include "stratagus.h"
#include "script.h"
#include "map.h"
#include "netconnect.h"
#include "settings.h"
#include "tileset.h"
#include "cursor.h"
#include "font.h"
#include "input.h"
#include "ui.h"
#include "video.h"
#include "widgets.h"
#include "game.h"
#include "parameters.h"
#include "assert.h"
#include "network.h"
#include "network/netsockets.h"
#include "util.h"
#include "version.h"
#include "./xsha1.h"

Classes

class  BNCSInputStream
 
class  BNCSOutputStream
 
class  Friend
 
class  Game
 
class  OnlineState
 
class  Context
 
class  DisconnectedState
 
class  S2C_CHATEVENT
 
class  S2C_ENTERCHAT
 
class  C2S_ENTERCHAT
 
class  C2S_LOGONRESPONSE2_OR_C2S_CREATEACCOUNT
 
class  S2C_CREATEACCOUNT2
 
class  S2C_LOGONRESPONSE2
 
class  S2C_SID_AUTH_CHECK
 
class  S2C_SID_AUTH_INFO
 
class  C2S_SID_AUTH_INFO
 

Functions

static void dump (uint8_t *buffer, int received_bytes)
 
static std::string gameName ()
 
static int CclStopAdvertisingOnlineGame (lua_State *l)
 
static int CclStartAdvertisingOnlineGame (lua_State *l)
 
static int CclSetup (lua_State *l)
 
static int CclDisconnect (lua_State *l)
 
static int CclConnect (lua_State *l)
 
static int CclLogin (lua_State *l)
 
static int CclSignUp (lua_State *l)
 
static int CclStep (lua_State *l)
 
static int CclSendMessage (lua_State *l)
 
static int CclJoinChannel (lua_State *l)
 
static int CclJoinGame (lua_State *l)
 
static int CclStatus (lua_State *l)
 
static int CclRequestUserInfo (lua_State *l)
 
static int CclPunchNAT (lua_State *l)
 
void OnlineServiceCclRegister ()
 

Variables

static Context _ctx
 
OnlineContextOnlineContextHandler = &_ctx
 

Function Documentation

◆ CclConnect()

static int CclConnect ( lua_State *  l)
static

◆ CclDisconnect()

static int CclDisconnect ( lua_State *  l)
static

◆ CclJoinChannel()

static int CclJoinChannel ( lua_State *  l)
static

◆ CclJoinGame()

static int CclJoinGame ( lua_State *  l)
static

◆ CclLogin()

static int CclLogin ( lua_State *  l)
static

◆ CclPunchNAT()

static int CclPunchNAT ( lua_State *  l)
static

◆ CclRequestUserInfo()

static int CclRequestUserInfo ( lua_State *  l)
static

◆ CclSendMessage()

static int CclSendMessage ( lua_State *  l)
static

◆ CclSetup()

static int CclSetup ( lua_State *  l)
static

◆ CclSignUp()

static int CclSignUp ( lua_State *  l)
static

◆ CclStartAdvertisingOnlineGame()

static int CclStartAdvertisingOnlineGame ( lua_State *  l)
static

◆ CclStatus()

static int CclStatus ( lua_State *  l)
static

◆ CclStep()

static int CclStep ( lua_State *  l)
static

◆ CclStopAdvertisingOnlineGame()

static int CclStopAdvertisingOnlineGame ( lua_State *  l)
static

◆ dump()

static void dump ( uint8_t *  buffer,
int  received_bytes 
)
static

◆ gameName()

static std::string gameName ( )
static

◆ OnlineServiceCclRegister()

void OnlineServiceCclRegister ( )

Variable Documentation

◆ _ctx

Context _ctx
static

◆ OnlineContextHandler

OnlineContext* OnlineContextHandler = &_ctx
(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.