70 mDirection = nDirection;
74 unsigned char mPlayer;
Stream of raw bytes, the base of the memory, file, and network streams.
Definition binstream.h:22
unsigned char GetPlayer() const
Definition rotateevent.h:54
RotateEvent()=default
Construct an event with unset members.
void Save(BinStream &stream) const
Record the player in one byte and the direction in four bytes of the console's byte order.
void SetDirection(int nDirection)
Definition rotateevent.h:69
int GetDirection() const
Definition rotateevent.h:64
RotateEvent(BinStream &stream)
Construct the event from a recording.
void Load(BinStream &stream)
Read the event Save() records.
Direction
Values of mDirection.
Definition rotateevent.h:14
@ kDirectionNext
Definition rotateevent.h:16
@ kDirectionPrevious
Definition rotateevent.h:15
void SetPlayer(unsigned char nPlayer)
Definition rotateevent.h:59