|
resonance 1.0.1
|
Event the game passes between a MsgSource and a MsgSink. More...
#include <durgemmsg.h>


Public Member Functions | |
| virtual Message * | Clone () |
| Produce a heap copy of this message. | |
| virtual int | Type () |
| Report this message's registered identity. | |
| virtual const char * | GetName () const |
| Report this message's class name. | |
| Public Member Functions inherited from Message | |
| void * | operator new (size_t nSize) |
| Allocate a message from the tagged heap under the tag MSG. | |
| void | operator delete (void *pBlock) |
| Release a message to the tagged heap under the tag MSG. | |
| virtual | ~Message () |
| Vtable slot 1. | |
| virtual void | PrintExtra (std::ostream &stream) const |
| Write this message's payload to a stream. | |
| virtual void | saveGuts (OBStream &stream) const |
| Write this message's payload to an output stream. | |
| virtual void | restoreGuts (IBStream &stream) |
| Read this message's payload from an input stream. | |
| std::ostream & | Print (std::ostream &stream) const |
| Write this message to a diagnostic stream as {GetName() PrintExtra()}. | |
Static Public Member Functions | |
| static Message * | New () |
| Produce a default-constructed message on the heap. | |
| Static Public Member Functions inherited from Message | |
| static Message * | NewMessage (int nType) |
| Produce a message of the identified class through the factory list. | |
Public Attributes | |
| int | mLane |
| int | mStartFrame = kTickInfinity |
| float | mStartBlend |
| int | mEndFrame = kTickInfinity |
| float | mEndBlend |
| int | mLive |
| Non-zero for a gem a player is playing live. | |
| Player * | mPlayer |
Event the game passes between a MsgSource and a MsgSink.
Its RTTI descriptor is at 0x00901ce0. It has Message as its one base. The object is 0x20 bytes and its vtable is at 0x007ded38. The allocation in New() and the allocation in Clone() report the same size.
The payload layout comes from the run of field copies in Clone(). Every member but the word at +0x18 is public because AppTunnel::DispatchPriv() at 0x004497e0 reads them directly with no accessor in the image. It copies the colour name of mPlayer and draws the gem from mLane between the two frame and blend pairs, converting each frame to a float.
|
static |
Produce a default-constructed message on the heap.
The translation unit at 0x003d9818 registers this factory against identity 406.
|
virtual |
Produce a heap copy of this message.
Implements Message.
|
virtual |
Report this message's registered identity.
Implements Message.
|
virtual |
| int DurGemMsg::mLane |
The lane. +0x04
| int DurGemMsg::mStartFrame = kTickInfinity |
The frame the gem starts at. +0x08
| float DurGemMsg::mStartBlend |
The blend at the start. +0x0c
| int DurGemMsg::mEndFrame = kTickInfinity |
The frame the gem ends at. +0x10
| float DurGemMsg::mEndBlend |
The blend at the end. +0x14
| int DurGemMsg::mLive |
Non-zero for a gem a player is playing live.
+0x18
AxeNewGemMaker::PostGemMessages() at 0x001a2f18 and Scratcher store 1, and AxeOldGemMaker's PostDurGemMsg() at 0x001a32f0 and OnStdMidi() at 0x001a34e8 (both replaying a recorded phrase) store zero. No reader is recorded. The title rests on the writers alone.
| Player* DurGemMsg::mPlayer |
The player the gem belongs to. +0x1c