Packet the host sends to offer the remix of the game to the guests.
More...
#include <shareremixpkt.h>
|
| static Message * | New () |
| | Produce a default-constructed packet on the heap.
|
| static Message * | NewMessage (int nType) |
| | Produce a message of the identified class through the factory list.
|
Packet the host sends to offer the remix of the game to the guests.
The RTTI records the class as deriving from InternalPacket. The members Clone(), Type(), and GetName() are inline. The member names are inferred.
◆ ~ShareRemixPkt()
| ShareRemixPkt::~ShareRemixPkt |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x003a1048
- Ghidra address:
- PAL: 0x0040fd28
◆ ShareRemixPkt() [1/2]
| ShareRemixPkt::ShareRemixPkt |
( |
| ) |
|
|
default |
Construct a packet with a reset description.
mShareOnly is left unset.
Inline. New() expands it.
◆ ShareRemixPkt() [2/2]
| ShareRemixPkt::ShareRemixPkt |
( |
const RemixInfo & | info, |
|
|
int | nShareOnly ) |
|
inline |
Construct a packet for every peer, ordered and guaranteed.
Inline.
- Parameters
-
| info | The description of the remix. |
| nShareOnly | Non-zero when the remix is only shared, not played. |
◆ New()
Produce a default-constructed packet on the heap.
- Returns
- The packet.
- Ghidra address:
- NTSC-U/C: 0x002677e8
- Ghidra address:
- PAL: 0x002714c0
◆ operator new()
| void * ShareRemixPkt::operator new |
( |
size_t | nSize | ) |
|
|
inline |
Allocate a packet, billed to the class name.
- Parameters
-
| nSize | The object size the compiler supplies. |
- Returns
- The block.
◆ operator delete()
| void ShareRemixPkt::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a packet.
- Parameters
-
◆ Clone()
Produce a heap copy of this packet.
- Returns
- The copy.
Implements Message.
◆ Type()
| int ShareRemixPkt::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this packet's registered identity.
- Returns
- g_nShareRemixPktType.
Implements Message.
◆ GetName()
| const char * ShareRemixPkt::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ PrintExtra()
| void ShareRemixPkt::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the sender, the receiver, the description, and mShareOnly.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x002699e8
- Ghidra address:
- PAL: 0x002735a0
Reimplemented from Packet.
◆ saveGuts()
| void ShareRemixPkt::saveGuts |
( |
BinStream & | stream | ) |
const |
|
overridevirtual |
Write the description and mShareOnly as a byte.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00269a40
- Ghidra address:
- PAL: 0x002735f8
Reimplemented from Message.
◆ restoreGuts()
| void ShareRemixPkt::restoreGuts |
( |
BinStream & | stream | ) |
|
|
overridevirtual |
Read what saveGuts() wrote, and mark the remix as received over the network.
- Parameters
-
| stream | The stream to read from. |
- Ghidra address:
- NTSC-U/C: 0x00269a90
- Ghidra address:
- PAL: 0x00273640
Reimplemented from Message.
◆ GetInfo() [1/2]
| const RemixInfo & ShareRemixPkt::GetInfo |
( |
| ) |
const |
|
inline |
- Returns
- The description of the remix.
◆ GetInfo() [2/2]
- Returns
- The description of the remix, for filling.
◆ GetShareOnly()
| int ShareRemixPkt::GetShareOnly |
( |
| ) |
const |
|
inline |
- Returns
- Non-zero when the remix is only shared, not played.
The documentation for this class was generated from the following file: