Planeshift
ChatSettings Struct Reference

Struct for returning and setting settings. More...

#include <chatwindow.h>

Public Member Functions

void SetLogChannelFile (unsigned int type, csString newName)
 Helper function to set correctly the. More...
 

Public Attributes

int adminColor
 
int allianceColor
 
int auctionColor
 
csArray< csString > badWords
 
csHash< csString, csString > bindings
 
csString channelBracket [CHAT_END]
 Stores the brackets to add for each chat type. More...
 
int channelColor
 
int chatColor
 
csArray< csString > completionItems
 List of items for autocompletion from xml file chat type to subscription name binding. More...
 
bool defaultlastchat
 
bool dirtyLogChannelFile [CHAT_END]
 Stores if the log file name was changed. More...
 
bool echoScreenInSystem
 
bool enableBadWordsFilterIncoming
 
bool enableBadWordsFilterOutgoing
 
bool enabledLogging [CHAT_END]
 Stores if a chat type should be put in the logs. More...
 
int gmColor
 
csArray< csString > goodWords
 
int groupColor
 
int guildColor
 
int helpColor
 
bool joindefaultchannel
 
csString logChannelFile [CHAT_END]
 Stores the log files to use for each chat type. More...
 
bool looseFocusOnSend
 
bool mainBrackets
 If it's true brackets like [guild] [tell] will be put in main tab. More...
 
int meFilters
 Flags int. More...
 
bool mouseFocus
 
int npcColor
 
int playerColor
 Player Color. More...
 
int selectTabStyle
 
int shoutColor
 
csArray< csString > subNames
 
int systemColor
 
unsigned int tabSetting
 The param's low 10 bits are used. Each of these 10 bits stands for the state of the corresponding chat tab. More...
 
int tellColor
 
int vicinityFilters
 Flags int. More...
 
int yourColor
 
bool yourColorMix
 If it's true the yourColor will be mixed with the Color of the destination Example: if you send a tell the color of your text will be (yourColor+tellColor)/2. More...
 

Detailed Description

Struct for returning and setting settings.

Definition at line 66 of file chatwindow.h.

Member Function Documentation

void ChatSettings::SetLogChannelFile ( unsigned int  type,
csString  newName 
)
inline

Helper function to set correctly the.

See also
dirtyLogChannelFile and
logChannelFile options. If the filename was changed it will set the dirty flag else nothing will be done.
Parameters
typeThe chat type of which we are changing the log filename.
newNameThe new file name to apply to this chat type

Definition at line 114 of file chatwindow.h.

Member Data Documentation

int ChatSettings::adminColor

Definition at line 72 of file chatwindow.h.

int ChatSettings::allianceColor

Definition at line 76 of file chatwindow.h.

int ChatSettings::auctionColor

Definition at line 82 of file chatwindow.h.

csArray<csString> ChatSettings::badWords

Definition at line 98 of file chatwindow.h.

csHash<csString, csString> ChatSettings::bindings

Definition at line 102 of file chatwindow.h.

csString ChatSettings::channelBracket[CHAT_END]

Stores the brackets to add for each chat type.

Definition at line 90 of file chatwindow.h.

int ChatSettings::channelColor

Definition at line 78 of file chatwindow.h.

int ChatSettings::chatColor

Definition at line 70 of file chatwindow.h.

csArray<csString> ChatSettings::completionItems

List of items for autocompletion from xml file chat type to subscription name binding.

Definition at line 100 of file chatwindow.h.

bool ChatSettings::defaultlastchat

Definition at line 85 of file chatwindow.h.

bool ChatSettings::dirtyLogChannelFile[CHAT_END]

Stores if the log file name was changed.

Definition at line 88 of file chatwindow.h.

bool ChatSettings::echoScreenInSystem

Definition at line 94 of file chatwindow.h.

bool ChatSettings::enableBadWordsFilterIncoming

Definition at line 92 of file chatwindow.h.

bool ChatSettings::enableBadWordsFilterOutgoing

Definition at line 93 of file chatwindow.h.

bool ChatSettings::enabledLogging[CHAT_END]

Stores if a chat type should be put in the logs.

Definition at line 91 of file chatwindow.h.

int ChatSettings::gmColor

Definition at line 79 of file chatwindow.h.

csArray<csString> ChatSettings::goodWords

Definition at line 99 of file chatwindow.h.

int ChatSettings::groupColor

Definition at line 81 of file chatwindow.h.

int ChatSettings::guildColor

Definition at line 75 of file chatwindow.h.

int ChatSettings::helpColor

Definition at line 83 of file chatwindow.h.

bool ChatSettings::joindefaultchannel

Definition at line 84 of file chatwindow.h.

csString ChatSettings::logChannelFile[CHAT_END]

Stores the log files to use for each chat type.

Definition at line 89 of file chatwindow.h.

bool ChatSettings::looseFocusOnSend

Definition at line 86 of file chatwindow.h.

bool ChatSettings::mainBrackets

If it's true brackets like [guild] [tell] will be put in main tab.

Definition at line 95 of file chatwindow.h.

int ChatSettings::meFilters

Flags int.

Definition at line 106 of file chatwindow.h.

bool ChatSettings::mouseFocus

Definition at line 87 of file chatwindow.h.

int ChatSettings::npcColor

Definition at line 73 of file chatwindow.h.

int ChatSettings::playerColor

Player Color.

Definition at line 69 of file chatwindow.h.

int ChatSettings::selectTabStyle

Definition at line 104 of file chatwindow.h.

int ChatSettings::shoutColor

Definition at line 77 of file chatwindow.h.

csArray<csString> ChatSettings::subNames

Definition at line 103 of file chatwindow.h.

int ChatSettings::systemColor

Definition at line 71 of file chatwindow.h.

unsigned int ChatSettings::tabSetting

The param's low 10 bits are used. Each of these 10 bits stands for the state of the corresponding chat tab.

Definition at line 107 of file chatwindow.h.

int ChatSettings::tellColor

Definition at line 74 of file chatwindow.h.

int ChatSettings::vicinityFilters

Flags int.

Definition at line 105 of file chatwindow.h.

int ChatSettings::yourColor

Definition at line 80 of file chatwindow.h.

bool ChatSettings::yourColorMix

If it's true the yourColor will be mixed with the Color of the destination Example: if you send a tell the color of your text will be (yourColor+tellColor)/2.

Definition at line 96 of file chatwindow.h.


The documentation for this struct was generated from the following file: