Table of Contents

stub

This article describes the network packets used by libdeng2, dengsv, and dengcl.

CommandPackets

All CommandPackets will receive a reply in the form of a RecordPacket.

status

Client sends this to query the server's status.

Reply from server (server.status):

session.new

Client sends this to create a new session on the server.

Reply:

session.delete

Client sends this to destroy an existing session on the server.

session.join

Client sends this when it wishes to join a session in progress.

Reply from server:

session.leave

Client sends this when it is leaving a session in progress.

No reply.

RecordPackets

user.welcome (Update)

Sent to a client after it has been promoted to user in the session.

The user's own state is not included under users.

user.joined (Update)

Sent after a client has been promoted to user in the session. Not sent to the promoted user.

user.left (Update)

Sent after a client has been demoted from the session. Not sent to the demoted client.

session.ended (Update)

Sent when the session ends on the serverside, signaling the user session to end as well.