|
resonance 1.0.1
|
One advertised network game: where it is hosted and the settings it plays. More...
#include <gameinfo.h>
Public Member Functions | |
| virtual | ~GameInfo () |
| Slot 1. | |
| virtual void | Save (OBStream &stream) |
| Write the address, the world identifier, the host, the settings, and the status. | |
| virtual void | Load (IBStream &stream) |
| Read back what Save() writes. | |
| void | Print (std::ostream &stream) |
| Write the fields to a diagnostic stream. | |
One advertised network game: where it is hosted and the settings it plays.
Its RTTI descriptor is built by the type function at 0x001879c8, and it has no base. The members are a TransportAddress at +0x00, a word at +0x20, a string at +0x24, a GameParams at +0x2c, and a word at +0x64, and the vptr follows at +0x68. Its table at 0x007db578 has four entries (the type function, the destructor, Save(), and Load()). The member titles after the address come from the labels Print() writes, mediusWorldID=, host=, and status=.
No constructor is emitted, and no routine of the class has a caller in the image.
|
virtual |
Slot 1.
The body is empty, and the compiler frees the members' strings in reverse order.
|
virtual |
Write the address, the world identifier, the host, the settings, and the status.
Everything after the address is chained through the stream each transfer returns.
| stream | The stream to write to. |
|
virtual |
Read back what Save() writes.
| stream | The stream to read from. |
| void GameInfo::Print | ( | std::ostream & | stream | ) |
Write the fields to a diagnostic stream.
The label addr= is written with nothing after it, and mediusWorldID= follows at once, so the address itself is not printed.
| stream | The stream to write to. |