Planeshift
Public Types | Public Member Functions | Public Attributes

psGUIInteractMessage Class Reference

Sends messages to the client interaction window. More...

#include <messages.h>

List of all members.

Public Types

enum  guiOptions {
  PICKUP = 0x00000001, EXAMINE = 0x00000002, UNLOCK = 0x00000004, LOOT = 0x00000008,
  BUYSELL = 0x00000010, GIVE = 0x00000020, CLOSE = 0x00000040, USE = 0x00000080,
  PLAYERDESC = 0x00000100, ATTACK = 0x00000200, COMBINE = 0x00000400, EXCHANGE = 0x00000800,
  TRAIN = 0x00001000, NPCTALK = 0x00002000, VIEWSTATS = 0x00004000, DISMISS = 0x00008000,
  MARRIAGE = 0x00010000, DIVORCE = 0x00020000, PLAYGAME = 0x00040000, ENTER = 0x00080000,
  LOCK = 0x00100000, ENTERLOCKED = 0x00200000, BANK = 0x00400000, INTRODUCE = 0x00800000,
  CONSTRUCT = 0x01000000, MOUNT = 0x02000000, UNMOUNT = 0x04000000, STORAGE = 0x08000000,
  GENERIC = 0x10000000
}

Public Member Functions

 PSF_DECLARE_MSG_FACTORY ()
 psGUIInteractMessage (MsgEntry *message)
 psGUIInteractMessage (uint32_t clientnum, uint32_t options, csString command="")
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string.

Public Attributes

csString genericCommand
uint32_t options
 Holds the options that the window should display.

Detailed Description

Sends messages to the client interaction window.

Definition at line 1401 of file messages.h.


Member Enumeration Documentation

Enumerator:
PICKUP 
EXAMINE 
UNLOCK 
LOOT 
BUYSELL 
GIVE 
CLOSE 
USE 
PLAYERDESC 
ATTACK 
COMBINE 
EXCHANGE 
TRAIN 
NPCTALK 
VIEWSTATS 
DISMISS 
MARRIAGE 
DIVORCE 
PLAYGAME 
ENTER 
LOCK 
ENTERLOCKED 
BANK 
INTRODUCE 
CONSTRUCT 
MOUNT 
UNMOUNT 
STORAGE 
GENERIC 

Definition at line 1417 of file messages.h.


Constructor & Destructor Documentation

psGUIInteractMessage::psGUIInteractMessage ( uint32_t  clientnum,
uint32_t  options,
csString  command = "" 
)
psGUIInteractMessage::psGUIInteractMessage ( MsgEntry message)

Member Function Documentation

psGUIInteractMessage::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psGUIInteractMessage::ToString ( NetBase::AccessPointers accessPointers) [virtual]

Converts the message into human readable string.

Parameters:
accessPointersA struct to a number of access pointers.
Returns:
Return a human readable string for the message.

Implements psMessageCracker.


Member Data Documentation

Definition at line 1456 of file messages.h.

Holds the options that the window should display.

Definition at line 1455 of file messages.h.


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