wavelength 1.0.0
Loading...
Searching...
No Matches
NetLaunchpad Class Referenceabstract

The online session a console hosts or joins, from its launchpad to the end of the song. More...

#include <netlaunchpad.h>

Inheritance diagram for NetLaunchpad:

Public Member Functions

virtual void Cancel (MsgSink *pSink)=0
 Vtable slot 1.
virtual void Activate ()=0
 Vtable slot 2.
virtual void NotifyLoaded ()=0
 Vtable slot 3.
virtual int IsGuest ()=0
 Vtable slot 4.
virtual int GetPlayersVersion ()=0
 Vtable slot 5.
virtual std::list< NetLaunchpadPlayer > * GetPlayers ()=0
 Vtable slot 6.
virtual void EndEdit ()
 Vtable slot 7.
virtual bool ShareRemix ()
 Vtable slot 8.
virtual int Launch ()
 Vtable slot 9.
virtual void BootPlayer (int nPlayer)
 Vtable slot 10.
virtual ~NetLaunchpad ()
 Vtable slot 11.

Detailed Description

The online session a console hosts or joins, from its launchpad to the end of the song.

The RTTI includes the class name. LaunchpadRT derives from it and from MsgSink, and its constructor stores the one instance in TheNetLaunchpad. The vtable is at 0x003d4850. The members of slots 7 to 11 have inline bodies, and the other members are pure.

Constructor & Destructor Documentation

◆ ~NetLaunchpad()

virtual NetLaunchpad::~NetLaunchpad ( )
inlinevirtual

Vtable slot 11.

Release the session.

Ghidra address:
NTSC-U/C: 0x00398c00
Ghidra address:
PAL: 0x00407488

Member Function Documentation

◆ Cancel()

virtual void NetLaunchpad::Cancel ( MsgSink * pSink)
pure virtual

Vtable slot 1.

Exit the session at the request of this console.

LaunchpadRT ends the session with reason 0 and later sends pSink a LaunchpadAbortedMsg. The name is inferred.

Parameters
pSinkThe sink that receives the end of the session.

Implemented in LaunchpadRT.

◆ Activate()

virtual void NetLaunchpad::Activate ( )
pure virtual

Vtable slot 2.

Report to the session that the launchpad screen shows.

LaunchpadRT marks itself active. The name is inferred.

Implemented in LaunchpadRT.

◆ NotifyLoaded()

virtual void NetLaunchpad::NotifyLoaded ( )
pure virtual

Vtable slot 3.

Report to the session that this console finished loading the song.

LaunchpadRT moves its console's entry to state 3. The name is inferred.

Implemented in LaunchpadRT.

◆ IsGuest()

virtual int NetLaunchpad::IsGuest ( )
pure virtual

Vtable slot 4.

Report the identifier of this console in the session.

The host is 0, and a guest is non-zero. The name is inferred.

Returns
The identifier.

Implemented in LaunchpadRT.

◆ GetPlayersVersion()

virtual int NetLaunchpad::GetPlayersVersion ( )
pure virtual

Vtable slot 5.

Report a count that changes whenever the players of the session change.

The name is inferred.

Returns
The count.

Implemented in LaunchpadRT.

◆ GetPlayers()

virtual std::list< NetLaunchpadPlayer > * NetLaunchpad::GetPlayers ( )
pure virtual

Vtable slot 6.

Report the players of the session.

The name is inferred.

Returns
The players.

Implemented in LaunchpadRT.

◆ EndEdit()

virtual void NetLaunchpad::EndEdit ( )
inlinevirtual

Vtable slot 7.

Publish the settings of the game the host changed.

The default does nothing. The name is inferred.

Ghidra address:
NTSC-U/C: 0x00398be0
Ghidra address:
PAL: 0x00407468

Reimplemented in HostpadRT.

◆ ShareRemix()

virtual bool NetLaunchpad::ShareRemix ( )
inlinevirtual

Vtable slot 8.

Offer the remix of the game to the guests.

The default refuses. The name is inferred.

Returns
Whether the offer started.
Ghidra address:
NTSC-U/C: 0x00398be8
Ghidra address:
PAL: 0x00407470

Reimplemented in HostpadRT.

◆ Launch()

virtual int NetLaunchpad::Launch ( )
inlinevirtual

Vtable slot 9.

Start the song of the session on every console.

The default does nothing and reports zero. The name is inferred.

Returns
Non-zero when the song starts.
Ghidra address:
NTSC-U/C: 0x00398bf0
Ghidra address:
PAL: 0x00407478

Reimplemented in HostpadRT.

◆ BootPlayer()

virtual void NetLaunchpad::BootPlayer ( int nPlayer)
inlinevirtual

Vtable slot 10.

Remove a guest from the session.

The default does nothing. The name is inferred.

Parameters
nPlayerThe guest.
Ghidra address:
NTSC-U/C: 0x00398bf8
Ghidra address:
PAL: 0x00407480

Reimplemented in HostpadRT.


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