queue

fun queue(message: OutgoingGameMessage)

Queues a game message to be written to the client based on the message's defined category

Parameters

message

the outgoing game message to queue in its respective message queue


fun queue(message: OutgoingGameMessage, category: ServerProtCategory)

Queues a game message to be written to the client based on the provided message category, in case one wishes to override the categories defined by the library

Parameters

message

the outgoing game message

category

the category of the queue to put the message in