|
Planeshift
|
#include "net/netbase.h"#include "net/message.h"#include <csutil/csstring.h>#include <csutil/array.h>#include <csutil/stringarray.h>#include <csutil/strset.h>#include <csutil/databuf.h>#include <csutil/md5.h>#include "util/psscf.h"#include <csgeom/vector3.h>#include "rpgrules/psmoney.h"#include "util/psconst.h"#include "util/skillcache.h"#include <ivideo/graph3d.h>#include "bulkobjects/activespell.h"Go to the source code of this file.
Classes | |
| struct | psAttackQueueMessage::AAttack |
| struct | psBuddyListMsg::BuddyData |
| struct | psViewContainerDescription::ContainerContents |
| struct | psDialogMenuMessage::DialogResponse |
| struct | psFactionMessage::FactionPair |
| struct | psGMSpawnItems::Item |
| struct | psGUIInventoryMessage::ItemDescription |
| A small struct to hold item info after read out of message. More... | |
| struct | psGMSpawnMods::ItemModifier |
| struct | psWeatherMessage::NetWeatherInfo |
| struct | psAttackBookMessage::NetworkAttack |
| struct | psCharacterDetailsMessage::NetworkDetailSkill |
| struct | psRequestGlyphsMessage::NetworkGlyph |
| struct | psSpellBookMessage::NetworkSpell |
| struct | psGMGuiMessage::PlayerInfo |
| class | psAdminCmdMessage |
| Admin commands. More... | |
| class | psAdviceMessage |
| class | psAttackBookMessage |
| class | psAttackQueueMessage |
| sends a message tot he client with the attack queue list More... | |
| class | psAuthApprovedMessage |
| Message sent from server to client if login was valid. More... | |
| class | psAuthenticationMessage |
| The message sent from client to server on login. More... | |
| class | psAuthRejectedMessage |
| Message sent from server to client if login was not valid. More... | |
| class | psBuddyListMsg |
| class | psBuddyStatus |
| class | psCachedFileMessage |
| Class to send a possibly cached file to the client. More... | |
| class | psChannelJoinedMessage |
| Message from the server with a channel id. More... | |
| class | psChannelJoinMessage |
| Message from a client for a request to join a chat channel. More... | |
| class | psChannelLeaveMessage |
| Message from a client for a request to leave a chat channel. More... | |
| class | psCharacterApprovedMessage |
| class | psCharacterDescriptionUpdateMessage |
| class | psCharacterDetailsMessage |
| class | psCharacterDetailsRequestMessage |
| class | psCharacterPickerMessage |
| class | psCharCreateCPMessage |
| The message sent from client to server to request a cp value for creation. More... | |
| class | psCharCreateTraitsMessage |
| class | psCharDeleteMessage |
| The message sent from client to server to request a char deletion. More... | |
| class | psCharIntroduction |
| The message sent from client to server to request a new introduction. More... | |
| class | psChatMessage |
| Message sent with chat info. More... | |
| class | psClientStatusMessage |
| class | psCmdDropMessage |
| class | psCombatEventMessage |
| Messages sent from server to client containing each detailed combat event. More... | |
| class | psCraftCancelMessage |
| Spell Cancel Message This message is used to send a cancel message, and to send the time left before the item is crafted. More... | |
| class | psDialogMenuMessage |
| The message sent from server to client when a menu of possible responses is available. More... | |
| class | psDisconnectMessage |
| class | psDRMessage |
| class | psEffectMessage |
| Effect Message. More... | |
| class | psEntranceMessage |
| Message from the server to handle entrances into and out of map instances. More... | |
| class | psEquipmentMessage |
| General Equipment Message. More... | |
| class | psExchangeAcceptMsg |
| class | psExchangeAddItemMsg |
| Notification of an item added to an exchange. More... | |
| class | psExchangeEndMsg |
| class | psExchangeMoneyMsg |
| class | psExchangeRemoveItemMsg |
| Notification of an item removed from an exchange. More... | |
| class | psExchangeRequestMsg |
| A request to start an exchange with your current target. More... | |
| class | psExchangeStatusMsg |
| class | psFactionMessage |
| Faction Message to get faction info from the server. More... | |
| class | psForcePositionMessage |
| class | psGenericCmdMessage |
| Generic commands. More... | |
| class | psGlyphAssembleMessage |
| class | psGMEventInfoMessage |
| Sends messages to the client listing the assigned events for the player. More... | |
| class | psGMEventListMessage |
| GM Event List Message. More... | |
| class | psGMGuiMessage |
| Messages that are sent to the GM GUI windowManager. More... | |
| class | psGMSpawnGetMods |
| class | psGMSpawnItem |
| class | psGMSpawnItems |
| class | psGMSpawnMods |
| class | psGMSpawnTypes |
| class | psGroupCmdMessage |
| Group commands. More... | |
| class | psGUIActiveMagicMessage |
| GUI Active Magic Message. More... | |
| class | psGUIBankingMessage |
| GUI Banking Message. More... | |
| class | psGUIGroupMessage |
| GUI Group Message. More... | |
| class | psGUIGuildMessage |
| GUI Guild Message. More... | |
| class | psGUIInteractMessage |
| Sends messages to the client interaction window. More... | |
| class | psGUIInventoryMessage |
| This message class deals with the inventory messages. More... | |
| class | psGuildCmdMessage |
| Guild commands sent from client to server. More... | |
| class | psGuildMOTDSetMessage |
| class | psGUIMerchantMessage |
| GUI Exchange Message. More... | |
| class | psGUISkillMessage |
| GUI Skill Message. More... | |
| class | psGUIStorageMessage |
| GUI Merchant Message. More... | |
| class | psGUITargetUpdateMessage |
| GUI Target Update This class is used to notify the client that data it is showing in the GUI target window has changed serverside, and should be refreshed. More... | |
| class | psHeartBeatMsg |
| class | psHiredNPCScriptMessage |
| Handle scripting of hired NPCs. More... | |
| class | psLockpickMessage |
| class | psLootItemMessage |
| Sends messages to the server to indicate what to loot. More... | |
| class | psLootMessage |
| Sends messages to the client listing the available loot on a mob. More... | |
| class | psLootRemoveMessage |
| class | psMapActionMessage |
| Messages that are sent to/from the ActionManager. More... | |
| class | psMarriageMsgDivorce |
| The message sent when someone divorces someone. More... | |
| class | psMarriageMsgDivorceConfirm |
| The message is sent when someone requests marriage details of a player. More... | |
| class | psMarriageMsgPropose |
| The message sent to the player being proposed for marriage. More... | |
| class | psMechanismActivateMessage |
| This message is used by the server to activate one mechanism client side. More... | |
| class | psMessageCracker |
| All net messages inherit from this class. More... | |
| class | psMGBoardMessage |
| Message from the server to setup/update the minigame board on the client side. More... | |
| class | psMGStartStopMessage |
| Message from the client to start a minigame. More... | |
| class | psMGUpdateMessage |
| Message from the client with a minigame board update. More... | |
| class | psModeMessage |
| Sends messages to the client indicating player combat stance. More... | |
| class | psMOTDMessage |
| class | psMOTDRequestMessage |
| class | psMoveLockMessage |
| Sends messages to the client informing of server-side movement lockouts. More... | |
| class | psMovementInfoMessage |
| class | psMoveModMsg |
| class | psMsgCraftingInfo |
| Defines all the info about crafting for an item. More... | |
| class | psMsgRequestMovement |
| class | psMsgStringsMessage |
| Message sent from server to client containing the message strings hash table. More... | |
| class | psMusicalSheetMessage |
| Message used by to send a musical sheet. More... | |
| class | psNameCheckMessage |
| Used to check to see if a name chosen is a valid name to be picked from. More... | |
| class | psNewSectorMessage |
| Sends messages to the client indicating that a sector portal has been crossed. More... | |
| class | psOrderedMessage |
| Class to implement sequential delivery of net messages. More... | |
| class | psOverrideActionMessage |
| Indicates that an OverrideAction is being done and not a loop as covered in DR msgs. More... | |
| class | psPersistActionLocation |
| class | psPersistActor |
| class | psPersistActorRequest |
| class | psPersistAllEntities |
| class | psPersistItem |
| class | psPersistWorld |
| class | psPersistWorldRequest |
| struct | psPetitionInfo |
| Contains data for one petition. More... | |
| class | psPetitionMessage |
| Messages sent to user with petition information. More... | |
| class | psPetitionRequestMessage |
| Messages sent by the user to the server with requests for petition information. More... | |
| class | psPetSkillMessage |
| Pet Skill Message. More... | |
| class | psPingMsg |
| class | psPlaySongMessage |
| This message is used by the server to make clients play a song. More... | |
| class | psPlaySoundMessage |
| Sound Message. More... | |
| class | psPreAuthApprovedMessage |
| Message sent from server to client that holds random number (clientnum). More... | |
| class | psPreAuthenticationMessage |
| The message sent from client to server before login. More... | |
| class | psPurifyGlyphMessage |
| class | psQuestInfoMessage |
| Sends messages to the client listing the assigned quests for the player. More... | |
| class | psQuestionCancelMessage |
| class | psQuestionMessage |
| class | psQuestionResponseMsg |
| class | psQuestListMessage |
| Sends messages to the client listing the assigned quests for the player. More... | |
| class | psQuestRewardMessage |
| class | psReadBookTextMessage |
| class | psRemoveObject |
| class | psRequestAllObjects |
| class | psRequestGlyphsMessage |
| class | psSequenceMessage |
| Sends messages to the client to control sequences. More... | |
| class | psSimpleRenderMeshMessage |
| Class to send a csSimpleRenderMesh to the client. More... | |
| class | psSimpleStringMessage |
| Class to send a single arbitrary string to the client or server. More... | |
| class | psSketchMessage |
| Class to send client directions on how to render a Sketch. More... | |
| class | psSlotMovementMsg |
| class | psSoundEventMessage |
| Sound Events Message. More... | |
| class | psSpecialCombatEventMessage |
| Messages from the server to the client, similar to combat events below, but for special attacks. More... | |
| class | psSpellBookMessage |
| class | psSpellCancelMessage |
| class | psSpellCastMessage |
| Spell Cast Message. More... | |
| class | psStatDRMessage |
| class | psStatsMessage |
| This message is sent to the client to let it know the basic stats of the player. More... | |
| class | psStopEffectMessage |
| class | psStopSongMessage |
| This message is used by both server and client to stop a song. More... | |
| class | psSystemMessage |
| class | psSystemMessageSafe |
| Messages with system information sent to user. More... | |
| class | psTraitChangeMessage |
| Message to change a character's trait. More... | |
| class | psTutorialMessage |
| Class to send instructions from server to client on a tutorial event. More... | |
| class | psUpdateObjectNameMessage |
| class | psUpdatePlayerGroupMessage |
| class | psUpdatePlayerGuildMessage |
| class | psUserActionMessage |
| class | psUserCmdMessage |
| User commands. More... | |
| class | psViewActionLocationMessage |
| class | psViewContainerDescription |
| General Message for sending information about an containter to a client. More... | |
| class | psViewItemDescription |
| General Message for sending information about an item to a client. More... | |
| class | psViewItemUpdate |
| class | psWeatherMessage |
| Sends messages to the client indicating rain and time of day. More... | |
| class | psWorkCmdMessage |
| Work commands. More... | |
| class | psWriteBookMessage |
Macros | |
| #define | MAXSYSTEMMSGSIZE 1024 |
| Messages with system information sent to user. More... | |
| #define | MSG_ACK 0x00010005 |
| #define | MSG_COMBAT 0x00020000 |
| #define | MSG_COMBAT_BLOCK 0x00020002 |
| #define | MSG_COMBAT_DEATH 0x00020009 |
| #define | MSG_COMBAT_DODGE 0x00020001 |
| #define | MSG_COMBAT_HITOTHER 0x00020004 |
| #define | MSG_COMBAT_HITYOU 0x00020003 |
| #define | MSG_COMBAT_MISS 0x00020007 |
| #define | MSG_COMBAT_NEARLY_DEAD 0x0002000c |
| #define | MSG_COMBAT_OTHERHIT 0x00020006 |
| #define | MSG_COMBAT_OWN_DEATH 0x00020008 |
| #define | MSG_COMBAT_STANCE 0x0002000b |
| #define | MSG_COMBAT_VICTORY 0x0002000a |
| #define | MSG_COMBAT_YOURHIT 0x00020005 |
| #define | MSG_ERROR 0x00000000 |
| #define | MSG_INFO 0x00010000 |
| #define | MSG_INFO_BASE 0x00010006 |
| #define | MSG_INFO_SERVER 0x00010001 |
| #define | MSG_LOOT 0x00030000 |
| #define | MSG_OK 0x00010003 |
| #define | MSG_PURCHASE 0x00400000 |
| #define | MSG_RESULT 0x00010002 |
| #define | MSG_SEC 0x00300000 |
| #define | MSG_WHO 0x00010004 |
| #define | PINGFLAG_HASBEENREADY 0x0004 |
| #define | PINGFLAG_READY 0x0002 |
| #define | PINGFLAG_REQUESTFLAGS 0x0001 |
| #define | PINGFLAG_SERVERFULL 0x0008 |
| #define | PS_NETVERSION 0x00B9 |
| #define | PS_NPCNETVERSION 0x1035 |
| #define | PSF_DECLARE_MSG_FACTORY() |
| #define | PSF_IMPLEMENT_MSG_FACTORY(Class, MsgType) |
| #define | PSF_IMPLEMENT_MSG_FACTORY_ACCESS_POINTER(Class, MsgType) |
| #define | PSF_IMPLEMENT_MSG_FACTORY_CREATE1(Class) |
| #define | PSF_IMPLEMENT_MSG_FACTORY_CREATE2(Class) |
| #define | PSF_IMPLEMENT_MSG_FACTORY_REGISTER(Class, MsgType) |
| #define | PSF_IMPLEMENT_MSG_FACTORY_TYPENAME(Class, MsgType) |
| #define | SEC_LEVEL0 0x00300000 |
| #define | SEC_LEVEL1 0x00300001 |
| #define | SEC_LEVEL2 0x00300002 |
| #define | SEC_LEVEL3 0x00300003 |
| #define | SEC_LEVEL4 0x00300004 |
| #define | TOP_SHORT_INT_VAL 65535 |
Typedefs | |
| typedef psMessageCracker *(* | psfMsgFactoryFunc) (MsgEntry *me, NetBase::AccessPointers *accessPointers) |
Functions | |
| void | DecodeMessage (MsgEntry *me, NetBase::AccessPointers *accessPointers, bool filterhex, csString &msgText, int &filterNumber) |
| csString | GetMsgTypeName (int msgType) |
| psMessageCracker * | psfCreateMsg (int msgtype, MsgEntry *me, NetBase::AccessPointers *accessPointers) |
| int | psfMsgType (const char *msgTypeName) |
| csString | psfMsgTypeName (int msgType) |
| void | psfRegisterMsgFactoryFunction (psfMsgFactoryFunc factoryfunc, int msgtype, const char *msgtypename) |
| void | psfUnRegisterMsgFactories (void) |