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

Message that reports how much of the remix of an online game the consoles have exchanged. More...

#include <shareremixprogressmsg.h>

Inheritance diagram for ShareRemixProgressMsg:
Collaboration diagram for ShareRemixProgressMsg:

Public Member Functions

 ShareRemixProgressMsg (float fProgress, int nReceived)
 Construct a message with the progress.
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 progress and mReceived.
float GetProgress () const
int GetReceived () 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 that reports how much of the remix of an online game the consoles have exchanged.

The RTTI records the class as deriving from Message. The vtable is at 0x003d5e98. The members Clone(), Type(), and GetName() are inline.

Constructor & Destructor Documentation

◆ ShareRemixProgressMsg()

ShareRemixProgressMsg::ShareRemixProgressMsg ( float fProgress,
int nReceived )
inline

Construct a message with the progress.

Inline.

Parameters
fProgressThe part exchanged, from 0 to 1.
nReceivedThe share-only flag of the remix, from ShareRemixPkt::mShareOnly.

Member Function Documentation

◆ operator new()

void * ShareRemixProgressMsg::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 ShareRemixProgressMsg::operator delete ( void * pBlock)
inline

Release a message.

Parameters
pBlockThe block.

◆ Clone()

Message * ShareRemixProgressMsg::Clone ( )
inlineoverridevirtual

Produce a heap copy of this message.

Returns
The copy.

Implements Message.

◆ Type()

int ShareRemixProgressMsg::Type ( )
inlineoverridevirtual

Report this message's registered identity.

Returns
g_nShareRemixProgressMsgType.

Implements Message.

◆ GetName()

const char * ShareRemixProgressMsg::GetName ( ) const
inlineoverridevirtual

Report this message's class name.

Returns
The literal ShareRemixProgressMsg.

Implements Message.

◆ PrintExtra()

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

Write the progress and mReceived.

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

Reimplemented from Message.

◆ GetProgress()

float ShareRemixProgressMsg::GetProgress ( ) const
inline
Returns
The part exchanged, from 0 to 1.

◆ GetReceived()

int ShareRemixProgressMsg::GetReceived ( ) const
inline
Returns
The share-only flag of the remix, non-zero for a remix only shared.

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