Planeshift
Public Member Functions | Public Attributes

ChatSettings Struct Reference

Struct for returning and setting settings. More...

#include <chatwindow.h>

List of all members.

Public Member Functions

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

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.
int channelColor
int chatColor
csArray< csString > completionItems
 List of items for autocompletion from xml file chat type to subscription name binding.
bool defaultlastchat
bool dirtyLogChannelFile [CHAT_END]
 Stores if the log file name was changed.
bool echoScreenInSystem
bool enableBadWordsFilterIncoming
bool enableBadWordsFilterOutgoing
bool enabledLogging [CHAT_END]
 Stores if a chat type should be put in the logs.
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.
bool looseFocusOnSend
bool mainBrackets
 If it's true brackets like [guild] [tell] will be put in main tab.
int meFilters
 Flags int.
bool mouseFocus
int npcColor
int playerColor
 Player Color.
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.
int tellColor
int vicinityFilters
 Flags int.
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.

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

Definition at line 72 of file chatwindow.h.

Definition at line 76 of file chatwindow.h.

Definition at line 82 of file chatwindow.h.

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.

Definition at line 78 of file chatwindow.h.

Definition at line 70 of file chatwindow.h.

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

Definition at line 100 of file chatwindow.h.

Definition at line 85 of file chatwindow.h.

Stores if the log file name was changed.

Definition at line 88 of file chatwindow.h.

Definition at line 94 of file chatwindow.h.

Definition at line 92 of file chatwindow.h.

Definition at line 93 of file chatwindow.h.

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

Definition at line 91 of file chatwindow.h.

Definition at line 79 of file chatwindow.h.

Definition at line 99 of file chatwindow.h.

Definition at line 81 of file chatwindow.h.

Definition at line 75 of file chatwindow.h.

Definition at line 83 of file chatwindow.h.

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.

Definition at line 86 of file chatwindow.h.

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

Definition at line 95 of file chatwindow.h.

Flags int.

Definition at line 106 of file chatwindow.h.

Definition at line 87 of file chatwindow.h.

Definition at line 73 of file chatwindow.h.

Player Color.

Definition at line 69 of file chatwindow.h.

Definition at line 104 of file chatwindow.h.

Definition at line 77 of file chatwindow.h.

Definition at line 103 of file chatwindow.h.

Definition at line 71 of file chatwindow.h.

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.

Definition at line 74 of file chatwindow.h.

Flags int.

Definition at line 105 of file chatwindow.h.

Definition at line 80 of file chatwindow.h.

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: