resonance 1.0.1
Loading...
Searching...
No Matches
playerstrackneutralizedmsg.h
Go to the documentation of this file.
1#pragma once
2
3#include <iostream>
4
5#include "msg/cmdmsg.h"
6
7class Player;
8
26public:
36 static Message *New();
37
45 virtual Message *Clone();
46
54 virtual int Type();
55
63 virtual const char *GetName() const;
64
72 virtual void PrintExtra(std::ostream &stream) const;
73
74 int mPoints = 0;
75 Player *mPlayer = nullptr;
76};
77
CmdMsg()
Clear the result word.
Definition cmdmsg.h:37
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
One participant in a session, local or remote.
Definition player.h:39
Event the game passes between a MsgSource and a MsgSink.
Definition playerstrackneutralizedmsg.h:25
virtual int Type()
Report this message's registered identity.
int mPoints
Definition playerstrackneutralizedmsg.h:74
static Message * New()
Produce a message with every word zeroed on the heap.
Player * mPlayer
Definition playerstrackneutralizedmsg.h:75
virtual void PrintExtra(std::ostream &stream) const
Write the player's colour name to a diagnostic stream.
virtual const char * GetName() const
Report this message's class name.
virtual Message * Clone()
Produce a heap copy of this message.
int g_nPlayersTrackNeutralizedMsgType
Identity that PlayersTrackNeutralizedMsg::Type() reports.