63 mDirection = nDirection;
67 unsigned char mPlayer;
Stream of raw bytes, the base of the memory, file, and network streams.
Definition binstream.h:22
void Load(BinStream &stream)
Read the event Save() records.
void SetDirection(int nDirection)
Definition changesectionevent.h:62
void Save(BinStream &stream) const
Record the player in one byte and the direction in four bytes of the console's byte order.
void SetPlayer(unsigned char nPlayer)
Definition changesectionevent.h:52
ChangeSectionEvent()=default
Construct an event with unset members.
int GetDirection() const
Definition changesectionevent.h:57
ChangeSectionEvent(BinStream &stream)
Construct the event from a recording.
unsigned char GetPlayer() const
Definition changesectionevent.h:47