# class GGZCoreGametype

A class which contains all information on a certain game type. More...

Definition | `#include <GGZCoreGametype.h>`
List of all Methods

Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- GGZCoreGametype ()
- GGZCoreGametype (GGZGameType *gametype)
- ~GGZCoreGametype ()
- char* name ()
- char* protocolVersion ()
- char * protocolEngine ()
- char* version ()
- char* author ()
- char* url ()
- char* description ()
- char* category ()
- char* rating ()
- int maxPlayers ()
- int maxBots ()
- int maxSpectators ()
- int isPlayersValid (unsigned int number)
- int isBotsValid (unsigned int number)
- int isSpectatorsValid (unsigned int number)
- GGZGameType * gametype ()

## Detailed Description

A class which contains all information on a certain game type.

GGZCoreGametype ()

### GGZCoreGametype

Constructor

GGZCoreGametype (GGZGameType *gametype)

### GGZCoreGametype

Overloaded.

~GGZCoreGametype ()

### ~GGZCoreGametype

Destructor

char* name ()

### name

The unique name of this game type.

char* protocolVersion ()

### protocolVersion

Protocol version

char * protocolEngine ()

### protocolEngine

Protocol engine

char* version ()

### version

Game version

char* author ()

### author

Author of this game.

char* url ()

### url

Url to the game homepage

char* description ()

### description

Short description on the game.

char* category ()

### category

Game category

char* rating ()

### rating

Game rating

int maxPlayers ()

### maxPlayers

Return the maximum number of players.

int maxBots ()

### maxBots

Return the maximum number of bots.

int maxSpectators ()

### maxSpectators

Return the maximum number of spectators

int isPlayersValid (unsigned int number)

### isPlayersValid

Check whether given number of players is allowed.

int isBotsValid (unsigned int number)

### isBotsValid

Check whether given number of bots is allowed.

int isSpectatorsValid (unsigned int number)

### isSpectatorsValid

Check whether a given number of spectators is allowed

GGZGameType * gametype ()

### gametype

Retrieve the wrapped ggzcore object for this game type.

Generated by: josef on athlon500 on Tue Mar 19 23:18:22 2002, using kdoc 2.0a53.