wavelength 1.0.0
Loading...
Searching...
No Matches
UITextEntryCompleteMsg Class Reference

Message a text entry sends when the player confirms the text. More...

#include <uitextentrycompletemsg.h>

Inheritance diagram for UITextEntryCompleteMsg:
Collaboration diagram for UITextEntryCompleteMsg:

Public Member Functions

 ~UITextEntryCompleteMsg () override=default
 Destroy the object.
 UITextEntryCompleteMsg (const char *pszText, UITextEntry *pEntry)
 Construct the message.
void * operator new (size_t nSize)
 Allocate a message, billed to the class name.
void operator delete (void *pBlock)
 Release a message.
Message * Clone () override
 Produce a heap copy of this message.
int Type () override
 Report this message's registered identity.
const char * GetName () const override
 Report this message's class name.
void PrintExtra (PrnStream &stream) const override
 Write the text.
const String & GetText () const
UITextEntry * GetEntry () const
Public Member Functions inherited from Message
virtual ~Message ()
 Vtable slot 1.
virtual void saveGuts (BinStream &stream) const
 Write this message's payload to a stream.
virtual void restoreGuts (BinStream &stream)
 Read this message's payload from a stream.
virtual ~Message ()
virtual void Unused1 ()
 Not called by the control.

Additional Inherited Members

Static Public Member Functions inherited from Message
static Message * NewMessage (int nType)
 Produce a message of the identified class through the factory list.

Detailed Description

Message a text entry sends when the player confirms the text.

The RTTI records the class as deriving from Message. The object is 0x1c bytes. A text entry sends it through its own Dispatch() when the return key arrives.

Constructor & Destructor Documentation

◆ ~UITextEntryCompleteMsg()

UITextEntryCompleteMsg::~UITextEntryCompleteMsg ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x0037c388
Ghidra address:
PAL: 0x003eaab8

◆ UITextEntryCompleteMsg()

UITextEntryCompleteMsg::UITextEntryCompleteMsg ( const char * pszText,
UITextEntry * pEntry )
inline

Construct the message.

Inline. UITextEntry::ProcessKey() expands it on its stack.

Parameters
pszTextThe text.
pEntryThe text entry.

Member Function Documentation

◆ operator new()

void * UITextEntryCompleteMsg::operator new ( size_t nSize)
inline

Allocate a message, billed to the class name.

Parameters
nSizeThe object size the compiler supplies.
Returns
The block.

◆ operator delete()

void UITextEntryCompleteMsg::operator delete ( void * pBlock)
inline

Release a message.

Parameters
pBlockThe block.

◆ Clone()

Message * UITextEntryCompleteMsg::Clone ( )
inlineoverridevirtual

Produce a heap copy of this message.

Returns
The copy.
Ghidra address:
NTSC-U/C: 0x0037c450
Ghidra address:
PAL: 0x003eab80

Implements Message.

◆ Type()

int UITextEntryCompleteMsg::Type ( )
inlineoverridevirtual

Report this message's registered identity.

Returns
g_nUITextEntryCompleteMsgType.
Ghidra address:
NTSC-U/C: 0x0037c4b8
Ghidra address:
PAL: 0x003eabe8

Implements Message.

◆ GetName()

const char * UITextEntryCompleteMsg::GetName ( ) const
inlineoverridevirtual

Report this message's class name.

Returns
The literal UITextEntryCompleteMsg.
Ghidra address:
NTSC-U/C: 0x0037c4c8
Ghidra address:
PAL: 0x003eabf8

Implements Message.

◆ PrintExtra()

void UITextEntryCompleteMsg::PrintExtra ( PrnStream & stream) const
overridevirtual

Write the text.

Parameters
streamThe stream to write to.
Ghidra address:
NTSC-U/C: 0x0020e980
Ghidra address:
PAL: 0x00217798

Reimplemented from Message.

◆ GetText()

const String & UITextEntryCompleteMsg::GetText ( ) const
inline
Returns
The text.

◆ GetEntry()

UITextEntry * UITextEntryCompleteMsg::GetEntry ( ) const
inline
Returns
The text entry.

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