Planeshift
Classes | Defines | Enumerations

adminmanager.h File Reference

#include <csutil/ref.h>
#include "net/messages.h"
#include "util/psconst.h"
#include "util/waypoint.h"
#include "msgmanager.h"
#include "gmeventmanager.h"

Go to the source code of this file.

Classes

class  AdminCmdData
 Base class for all the data classes for admin commands. More...
class  AdminCmdDataAction
 Class for some action (guildentrance creation). More...
class  AdminCmdDataAssignFaction
 Class for assigning awards for factions. More...
class  AdminCmdDataAward
 Class for awarding rewards command. More...
class  AdminCmdDataBadText
 Class for searching for bad npc text. More...
class  AdminCmdDataBan
 Class for banning a player. More...
class  AdminCmdDataChangeGuildLeader
 Class for guild leader changing command. More...
class  AdminCmdDataChangeGuildName
 Class for name changing a guild. More...
class  AdminCmdDataChangeName
 Class for name changing of a player. More...
class  AdminCmdDataChangeNPCType
 Class for changing npc types. More...
class  AdminCmdDataCheckItem
 Class for item check command. More...
class  AdminCmdDataCrystal
 Base class for creating treasure hunts. More...
class  AdminCmdDataDeath
 Class for commands for instantly killing a user (player). More...
class  AdminCmdDataDebugNPC
 Class for changing npc debug level. More...
class  AdminCmdDataDebugTribe
 Class for changing tribe debug level. More...
class  AdminCmdDataDeleteChar
 Class for commands deleting a player. More...
class  AdminCmdDataDeputize
 Class for deputize command. More...
class  AdminCmdDataDisableQuest
 Class for disabling/enabling a quest. More...
class  AdminCmdDataFactory
 Class containing object factory for AdminCmdData objects. More...
class  AdminCmdDataFog
 Class for fog command. More...
class  AdminCmdDataGameMasterEvent
 Class for game event command. More...
class  AdminCmdDataHire
 Class for game event command. More...
class  AdminCmdDataImpersonate
 Class for impersonation command. More...
class  AdminCmdDataInfo
 Class for commands creating items. More...
class  AdminCmdDataItem
 Class for commands creating items. More...
class  AdminCmdDataItemTarget
 Class for transfering items. More...
class  AdminCmdDataKey
 Class for key (lock) related commands. More...
class  AdminCmdDataKillNPC
 Class for killing and reloading a npc. More...
class  AdminCmdDataList
 Class for list command. More...
class  AdminCmdDataListWarnings
 Class for issuing player warnings. More...
class  AdminCmdDataLoadQuest
 Class for loading/reloading quests. More...
class  AdminCmdDataLocation
 Class for location command. More...
class  AdminCmdDataModify
 Class for modifying command. More...
class  AdminCmdDataMorph
 Class for morph command. More...
class  AdminCmdDataNPCClientQuit
 Class for terminating the server. More...
class  AdminCmdDataPath
 Class for handling path commands. More...
class  AdminCmdDataPercept
 Class for percepting a npc. More...
class  AdminCmdDataPetition
 Class for petitions. More...
class  AdminCmdDataQuest
 Class for examing/modifying quests. More...
class  AdminCmdDataReload
 Class for reloading item stats. More...
class  AdminCmdDataRndMsgTest
 Class for sending sequenced test message. More...
class  AdminCmdDataRunScript
 Class for a command running a script. More...
class  AdminCmdDataScale
 Class for scale command. More...
class  AdminCmdDataSectorTarget
 Class for commands with a sector target. More...
class  AdminCmdDataServerQuit
 Class for terminating the server. More...
class  AdminCmdDataSet
 Class for setting attributes on a player. More...
class  AdminCmdDataSetItem
 Class for setting item names and descriptions. More...
class  AdminCmdDataSetKillExp
 Class for setting the killing exp. More...
class  AdminCmdDataSetLabelColor
 Class for setting labels. More...
class  AdminCmdDataSetQuality
 Class for setting quality for an item command. More...
class  AdminCmdDataSetSkill
 Class for setskill command. More...
class  AdminCmdDataSetStackable
 Class for un/setting, displaying information on stackable items. More...
class  AdminCmdDataSetTrait
 Class for setting traits or retrieving info. More...
class  AdminCmdDataSimple
 Simple one word commands. More...
class  AdminCmdDataSlide
 Class for sliding a player command. More...
class  AdminCmdDataTarget
 Base class for all commands that need a target to work on. More...
class  AdminCmdDataTargetReason
 Class for commands that only need a target and a reason. More...
class  AdminCmdDataTeleport
 Class for teleport command. More...
class  AdminCmdDataTime
 Class for time command. More...
class  AdminCmdDataUpdateRespawn
 Class for player/npc respawn update. More...
class  AdminCmdDataWeather
 Class for weather command. More...
class  AdminCmdDataWeatherEffect
 Base class for manipulating weather effects. More...
class  AdminCmdOnOffToggleParser
 Base class for on, off, toggle string Parser. More...
class  AdminCmdRewardParser
 Class for parsing rewards data from a command string and storing it. More...
class  AdminCmdSubCommandParser
 Class for storing subcommands for a specific word position. More...
class  AdminCmdTargetParser
 Class for parsing a target of a admin command. More...
class  AdminManager
 Admin manager that handles GM commands and general game control. More...
class  psRewardData
 Reward Data is an abstract structure for all kinds of rewards. More...
class  psRewardDataExperience
 RewardDataExperience holds experience reward data. More...
class  psRewardDataFaction
 RewardDataFaction holds faction reward data. More...
class  psRewardDataItem
 RewardDataItem holds item reward data. More...
class  psRewardDataMoney
 RewardDataMoney holds money reward data. More...
class  psRewardDataPractice
 RewardDataPractice holds practice reward data. More...
class  psRewardDataSkill
 RewardDataSkill holds skill reward data. More...

Defines

#define PETITION_GM   0xFFFFFFFF
 This is used for petitions to choose if it's a player or a gm asking to do a certain operation.

Enumerations

enum  ADMINCMD_TARGET_TYPES {
  ADMINCMD_TARGET_UNKNOWN = 0, ADMINCMD_TARGET_TARGET = 1, ADMINCMD_TARGET_PID = 1 << 1, ADMINCMD_TARGET_AREA = 1 << 2,
  ADMINCMD_TARGET_ME = 1 << 3, ADMINCMD_TARGET_PLAYER = 1 << 4, ADMINCMD_TARGET_OBJECT = 1 << 5, ADMINCMD_TARGET_NPC = 1 << 6,
  ADMINCMD_TARGET_EID = 1 << 7, ADMINCMD_TARGET_ITEM = 1 << 8, ADMINCMD_TARGET_CLIENTTARGET = 1 << 9, ADMINCMD_TARGET_ACCOUNT = 1 << 10,
  ADMINCMD_TARGET_DATABASE = 1 << 11, ADMINCMD_TARGET_STRING = 1 << 14
}
 

The different generic target types of admin command targets.

More...
enum  GM_LEVEL {
  GM_DEVELOPER = 30, GM_LEVEL_9 = 29, GM_LEVEL_8 = 28, GM_LEVEL_7 = 27,
  GM_LEVEL_6 = 26, GM_LEVEL_5 = 25, GM_LEVEL_4 = 24, GM_LEVEL_3 = 23,
  GM_LEVEL_2 = 22, GM_LEVEL_1 = 21, GM_LEVEL_0 = 20, GM_TESTER = 10
}
 

List of GM levels and their security level.

More...

Define Documentation

#define PETITION_GM   0xFFFFFFFF

This is used for petitions to choose if it's a player or a gm asking to do a certain operation.

Definition at line 42 of file adminmanager.h.


Enumeration Type Documentation

The different generic target types of admin command targets.

In this case target does not refer to the target of the client, but to to the target of the command (the object that should be manipulated by the command).

Enumerator:
ADMINCMD_TARGET_UNKNOWN 

when not recognized as any of the below types

ADMINCMD_TARGET_TARGET 

"target"

ADMINCMD_TARGET_PID 

"pid:PID"

ADMINCMD_TARGET_AREA 

"area:AREA"

ADMINCMD_TARGET_ME 

"me"

ADMINCMD_TARGET_PLAYER 

"name of a player"

ADMINCMD_TARGET_OBJECT 

"name of an object"

ADMINCMD_TARGET_NPC 

"name of a npc"

ADMINCMD_TARGET_EID 

"eid:EID"

ADMINCMD_TARGET_ITEM 

when object is an item

ADMINCMD_TARGET_CLIENTTARGET 

the targeted object of the client issuing the admincomman

ADMINCMD_TARGET_ACCOUNT 

when the target word gives an account name

ADMINCMD_TARGET_DATABASE 

when it's allowed to lookup the database.

ADMINCMD_TARGET_STRING 

when the target does not need to be any of the above defined targets

Definition at line 248 of file adminmanager.h.

enum GM_LEVEL

List of GM levels and their security level.

Enumerator:
GM_DEVELOPER 
GM_LEVEL_9 
GM_LEVEL_8 
GM_LEVEL_7 
GM_LEVEL_6 
GM_LEVEL_5 
GM_LEVEL_4 
GM_LEVEL_3 
GM_LEVEL_2 
GM_LEVEL_1 
GM_LEVEL_0 
GM_TESTER 

Definition at line 70 of file adminmanager.h.