ScummVM API documentation
Titanic::CMessage Class Reference
Inheritance diagram for Titanic::CMessage:
Titanic::CSaveableObject Titanic::CActivationmsg Titanic::CActMsg Titanic::CAddHeadPieceMsg Titanic::CAnimateMaitreDMsg Titanic::CArboretumGateMsg Titanic::CArmPickedUpFromTableMsg Titanic::CBodyInBilgeRoomMsg Titanic::CBowlStateChangeMsg Titanic::CCarryObjectArrivedMsg Titanic::CChangeMusicMsg Titanic::CChangeSeasonMsg Titanic::CCheckAllPossibleCodes Titanic::CCheckChevCode Titanic::CCheckCodeWheelsMsg Titanic::CChildDragEndMsg Titanic::CChildDragMoveMsg Titanic::CChildDragStartMsg Titanic::CClearChevPanelBits Titanic::CCorrectMusicPlayedMsg Titanic::CCreateMusicPlayerMsg Titanic::CCylinderHolderReadyMsg Titanic::CDeactivationMsg Titanic::CDeliverCCarryMsg Titanic::CDisableMaitreDProdReceptor Titanic::CDismissBotMsg Titanic::CDoffNavHelmet Titanic::CDonNavHelmet Titanic::CDoorbotNeededInElevatorMsg Titanic::CDoorbotNeededInHomeMsg Titanic::CDropObjectMsg Titanic::CDropZoneGotObjectMsg Titanic::CDropZoneLostObjectMsg Titanic::CEditControlMsg Titanic::CEjectCylinderMsg Titanic::CEnterNodeMsg Titanic::CEnterRoomMsg Titanic::CEnterViewMsg Titanic::CErasePhonographCylinderMsg Titanic::CFrameMsg Titanic::CFreshenCookieMsg Titanic::CGetChevClassBits Titanic::CGetChevClassNum Titanic::CGetChevCodeFromRoomNameMsg Titanic::CGetChevFloorBits Titanic::CGetChevFloorNum Titanic::CGetChevLiftBits Titanic::CGetChevLiftNum Titanic::CGetChevRoomBits Titanic::CGetChevRoomNum Titanic::CHoseConnectedMsg Titanic::CInitializeAnimMsg Titanic::CIsEarBowlPuzzleDone Titanic::CIsHookedOnMsg Titanic::CIsParrotPresentMsg Titanic::CKeyCharMsg Titanic::CLeaveNodeMsg Titanic::CLeaveRoomMsg Titanic::CLeaveViewMsg Titanic::CLemonFallsFromTreeMsg Titanic::CLightsMsg Titanic::CLoadSuccessMsg Titanic::CLockPhonographMsg Titanic::CMaitreDDefeatedMsg Titanic::CMaitreDHappyMsg Titanic::CMissiveOMatActionMsg Titanic::CMouseMsg Titanic::CMovementMsg Titanic::CMoveToStartPosMsg Titanic::CMovieEndMsg Titanic::CMovieFrameMsg Titanic::CMusicHasStartedMsg Titanic::CMusicHasStoppedMsg Titanic::CMusicSettingChangedMsg Titanic::CNPCPlayAnimationMsg Titanic::CNPCPlayIdleAnimationMsg Titanic::CNPCPlayTalkingAnimationMsg Titanic::CNPCQueueIdleAnimMsg Titanic::CNutPuzzleMsg Titanic::COnSummonBotMsg Titanic::COpeningCreditsMsg Titanic::CPanningAwayFromParrotMsg Titanic::CParrotSpeakMsg Titanic::CParrotTriesChickenMsg Titanic::CPassOnDragStartMsg Titanic::CPhonographPlayMsg Titanic::CPhonographReadyToPlayMsg Titanic::CPhonographRecordMsg Titanic::CPhonographStopMsg Titanic::CPlayerTriesRestaurantTableMsg Titanic::CPlayRangeMsg Titanic::CPreEnterNodeMsg Titanic::CPreEnterRoomMsg Titanic::CPreEnterViewMsg Titanic::CPreSaveMsg Titanic::CProdMaitreDMsg Titanic::CPumpingMsg Titanic::CPutBotBackInHisBoxMsg Titanic::CPutParrotBackMsg Titanic::CPuzzleSolvedMsg Titanic::CQueryCylinderHolderMsg Titanic::CQueryCylinderMsg Titanic::CQueryCylinderNameMsg Titanic::CQueryCylinderTypeMsg Titanic::CQueryMusicControlSettingMsg Titanic::CQueryPhonographState Titanic::CRecordOntoCylinderMsg Titanic::CRemoveFromGameMsg Titanic::CReplaceBowlAndNutsMsg Titanic::CRestaurantMusicChanged Titanic::CSendCCarryMsg Titanic::CSenseWorkingMsg Titanic::CServiceElevatorFloorChangeMsg Titanic::CServiceElevatorFloorRequestMsg Titanic::CServiceElevatorMsg Titanic::CSetChevButtonImageMsg Titanic::CSetChevClassBits Titanic::CSetChevFloorBits Titanic::CSetChevLiftBits Titanic::CSetChevPanelBitMsg Titanic::CSetChevPanelButtonsMsg Titanic::CSetChevRoomBits Titanic::CSetFrameMsg Titanic::CSetMusicControlsMsg Titanic::CSetVarMsg Titanic::CSetVolumeMsg Titanic::CShipSettingMsg Titanic::CShowTextMsg Titanic::CSignalObject Titanic::CSpeechFallsFromTreeMsg Titanic::CStartMusicMsg Titanic::CStatusChangeMsg Titanic::CStopMusicMsg Titanic::CSubAcceptCCarryMsg Titanic::CSubDeliverCCarryMsg Titanic::CSubSendCCarryMsg Titanic::CSUBTransition Titanic::CSubTurnOffMsg Titanic::CSubTurnOnMsg Titanic::CSummonBotMsg Titanic::CSummonBotQueryMsg Titanic::CTakeHeadPieceMsg Titanic::CTextInputMsg Titanic::CTimeDilationMsg Titanic::CTimeMsg Titanic::CTitleSequenceEndedMsg Titanic::CTransitMsg Titanic::CTranslateObjectMsg Titanic::CTransportMsg Titanic::CTriggerAutoMusicPlayerMsg Titanic::CTriggerNPCEvent Titanic::CTrueTalkGetAnimSetMsg Titanic::CTrueTalkGetAssetDetailsMsg Titanic::CTrueTalkGetStateValueMsg Titanic::CTrueTalkNotifySpeechEndedMsg Titanic::CTrueTalkNotifySpeechStartedMsg Titanic::CTrueTalkQueueUpAnimSetMsg Titanic::CTrueTalkSelfQueueAnimSetMsg Titanic::CTrueTalkTriggerActionMsg Titanic::CTurnOff Titanic::CTurnOn Titanic::CUse Titanic::CUseWithCharMsg Titanic::CUseWithOtherMsg Titanic::CVirtualKeyCharMsg Titanic::CVisibleMsg

Public Member Functions

bool execute (CTreeItem *target, const ClassDef *classDef=nullptr, int flags=MSGFLAG_SCAN|MSGFLAG_BREAK_IF_HANDLED)
 
bool execute (const CString &target, const ClassDef *classDef=nullptr, int flags=MSGFLAG_SCAN|MSGFLAG_BREAK_IF_HANDLED)
 
virtual bool perform (CTreeItem *treeItem)
 
void save (SimpleFile *file, int indent) override
 
void load (SimpleFile *file) override
 
virtual bool isMouseMsg () const
 
virtual bool isButtonDownMsg () const
 
virtual bool isButtonUpMsg () const
 
virtual bool isMouseMoveMsg () const
 
virtual bool isDoubleClickMsg () const
 
virtual bool isEnterRoomMsg () const
 
virtual bool isPreEnterRoomMsg () const
 
virtual bool isleaveRoomMsg () const
 
virtual bool isEnterNodeMsg () const
 
virtual bool isPreEnterNodeMsg () const
 
virtual bool isLeaveNodeMsg () const
 
virtual bool isEnterViewMsg () const
 
virtual bool isPreEnterViewMsg () const
 
virtual bool isLeaveViewMsg () const
 
- Public Member Functions inherited from Titanic::CSaveableObject
virtual ClassDefgetType () const
 
bool isInstanceOf (const ClassDef *classDef) const
 
virtual void saveHeader (SimpleFile *file, int indent)
 
virtual void saveFooter (SimpleFile *file, int indent)
 

Static Public Member Functions

static bool supports (const CTreeItem *treeItem, ClassDef *classDef)
 
- Static Public Member Functions inherited from Titanic::CSaveableObject
static void initClassList ()
 
static void freeClassList ()
 
static CSaveableObjectcreateInstance (const Common::String &name)
 

Public Attributes

 CLASSDEF
 

Additional Inherited Members

- Static Public Attributes inherited from Titanic::CSaveableObject
static ClassDef_type
 

Member Function Documentation

◆ execute() [1/2]

bool Titanic::CMessage::execute ( CTreeItem target,
const ClassDef classDef = nullptr,
int  flags = MSGFLAG_SCAN|MSGFLAG_BREAK_IF_HANDLED 
)

Executes the message, passing it on to the designated target, and optionally it's children

◆ execute() [2/2]

bool Titanic::CMessage::execute ( const CString target,
const ClassDef classDef = nullptr,
int  flags = MSGFLAG_SCAN|MSGFLAG_BREAK_IF_HANDLED 
)

Executes the message, passing it on to the designated target, and optionally it's children

◆ perform()

virtual bool Titanic::CMessage::perform ( CTreeItem treeItem)
virtual

Makes the passed item execute the message

◆ supports()

static bool Titanic::CMessage::supports ( const CTreeItem treeItem,
ClassDef classDef 
)
static

Returns true if the passed item supports the specified message class

◆ save()

void Titanic::CMessage::save ( SimpleFile file,
int  indent 
)
overridevirtual

Save the data for the class to file

Reimplemented from Titanic::CSaveableObject.

◆ load()

void Titanic::CMessage::load ( SimpleFile file)
overridevirtual

Load the data for the class from file

Reimplemented from Titanic::CSaveableObject.


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