Message used by to send a musical sheet.
More...
#include <messages.h>
Message used by to send a musical sheet.
Definition at line 5476 of file messages.h.
| psMusicalSheetMessage::psMusicalSheetMessage |
( |
uint32_t |
client, |
|
|
uint32_t |
itemID, |
|
|
bool |
readOnly, |
|
|
bool |
play, |
|
|
const char * |
songTitle, |
|
|
const char * |
musicalSheet |
|
) |
| |
Constructor.
- Parameters
-
| client | the client's ID. |
| itemID | the ID of the item containing the musical sheet. |
| readOnly | true if the client cannot edit the score. |
| play | true if the client asks to play the score. |
| songTitle | the song's title. |
| musicalSheet | the score. |
| psMusicalSheetMessage::psMusicalSheetMessage |
( |
MsgEntry * |
me | ) |
|
| psMusicalSheetMessage::PSF_DECLARE_MSG_FACTORY |
( |
| ) |
|
Converts the message into human readable string.
Used when a message is Logged. Every message should implement a version of this function that print all data that was decoded when the message was initiated from a NetEntry. See psDRMessage::ToString for an example.
- Parameters
-
| accessPointers | A struct to a number of access pointers. |
- Returns
- Return a human readable string for the message.
Implements psMessageCracker.
Definition at line 5500 of file messages.h.
| uint32_t psMusicalSheetMessage::itemID |
| csString psMusicalSheetMessage::musicalSheet |
| bool psMusicalSheetMessage::play |
| bool psMusicalSheetMessage::readOnly |
| csString psMusicalSheetMessage::songTitle |
The documentation for this class was generated from the following file: