EnginePlugin::Data Class Reference

#include <engineplugin.h>

Public Attributes

unsigned int abiVersion
QList< DMFlagsSectionallDMFlags
 List of all engine's DM flags or NULL if none. More...
bool allowsConnectPassword
bool allowsEmail
bool allowsJoinPassword
bool allowsMOTD
bool allowsRConPassword
bool allowsURL
QString author
bool clientOnly
bool createDMFlagsPagesAutomatic
 Controls behavior of "Create Game" dialog. More...
QString defaultMaster
 Default port on which servers for given engine are hosted. More...
quint16 defaultServerPort
QString demoExtension
bool demoExtensionAutomatic
 Factory of executable retrievers objects. More...
QList< GameModegameModes
 All available game modes for the engine or NULL if none. More...
QList< GameCVargameModifiers
 Returns a list of modifiers. More...
bool hasMasterServer
QPixmap * icon
 icon of the engine More...
bool inGameFileDownloads
QVector< IRCNetworkEntityircChannels
QString name
quint8 refreshThreshold
QString scheme
bool supportsRandomMapRotation
bool valid
unsigned int version

Detailed Description

Store the information about the plugin in a structure so that we can freely add features without invalidating existing plugins.

Definition at line 120 of file engineplugin.h.

Member Data Documentation

QList<DMFlagsSection> EnginePlugin::Data::allDMFlags

List of all engine's DM flags or NULL if none.

Definition at line 125 of file engineplugin.h.

bool EnginePlugin::Data::createDMFlagsPagesAutomatic

Controls behavior of "Create Game" dialog.

If true then "Create Game" dialog will build flags pages out of the allDMFlags list. If false then plugin either doesn't want to have the flags pages created or will provide the pages on its own.

Default: true.

Definition at line 170 of file engineplugin.h.

QString EnginePlugin::Data::defaultMaster

Default port on which servers for given engine are hosted.

Definition at line 134 of file engineplugin.h.

GameExeFactory* EnginePlugin::Data::gameExeFactory

Factory of executable retrievers objects.

By default this is a simple instance of GameExeFactory. If custom behavior is needed, plugins shouldn't overwrite the class or the contents of the pointer, but instead public setter methods should be used to set appropriate strategies. Refer to GameExeFactory doc for more details.

Definition at line 181 of file engineplugin.h.

QList<GameMode> EnginePlugin::Data::gameModes

All available game modes for the engine or NULL if none.

Definition at line 137 of file engineplugin.h.

QList<GameCVar> EnginePlugin::Data::gameModifiers

Returns a list of modifiers.

Modifiers are used and displayed in Create Game dialog. If an empty list (or NULL) is returned, Modifier combo will be disabled.

Definition at line 145 of file engineplugin.h.

QPixmap* EnginePlugin::Data::icon

icon of the engine

Definition at line 148 of file engineplugin.h.

The documentation for this class was generated from the following files: