Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
NetBrokerClient.h
Go to the documentation of this file.
1
/* Project Starshatter 4.5
2
Destroyer Studios LLC
3
Copyright © 1997-2004. All Rights Reserved.
4
5
SUBSYSTEM: Stars.exe
6
FILE: NetBrokerClient.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Client for Starshatter.com GameNet Broker
13
*/
14
15
16
#ifndef NetBrokerClient_h
17
#define NetBrokerClient_h
18
19
#include "
HttpClient.h
"
20
#include "
NetLobby.h
"
21
22
// +-------------------------------------------------------------------+
23
24
class
NetBrokerClient
25
{
26
public
:
27
static
void
Enable
() {
broker_available
=
true
; }
28
static
void
Disable
() {
broker_available
=
false
; }
29
30
static
bool
GameOn
(
const
char
* name,
31
const
char
* type,
32
const
char
* addr,
33
WORD port,
34
const
char
* password);
35
static
bool
GameList
(
const
char
* type,
List<NetServerInfo>
& server_list);
36
37
protected
:
38
static
bool
broker_available
;
39
static
bool
broker_found
;
40
};
41
42
43
#endif NetBrokerClient_h
Stars45
NetBrokerClient.h
Generated on Tue Jun 5 2012 20:47:02 for Starshatter_Open by
1.8.1