Daedalus Dock - Modules - TypesVar Details - Proc Details

Request Manager

Handles all player requests (prayers, centcom requests, syndicate requests) that occur in the duration of a round.

Vars

requestsAssociative list of ckey -> list of requests
requests_by_idList where requests can be accessed by ID

Procs

client_loginUsed in the new client pipeline to catch when clients are reconnecting and need to have their reference re-assigned to the 'owner' variable of any requests
client_logoutUsed in the destroy client pipeline to catch when clients are disconnecting and need to have their reference nulled on the 'owner' variable of any requests
message_centcomCreates a request for a Centcom message
message_syndicateCreates a request for a Syndicate message
nuke_requestCreates a request for the nuclear self destruct codes
prayCreates a request for a prayer, and notifies admins who have the sound notifications enabled when appropriate
request_for_clientCreates a request and registers the request with all necessary internal tracking lists

Var Details

requests

Associative list of ckey -> list of requests

requests_by_id

List where requests can be accessed by ID

Proc Details

client_login

Used in the new client pipeline to catch when clients are reconnecting and need to have their reference re-assigned to the 'owner' variable of any requests

Arguments:

client_logout

Used in the destroy client pipeline to catch when clients are disconnecting and need to have their reference nulled on the 'owner' variable of any requests

Arguments:

message_centcom

Creates a request for a Centcom message

Arguments:

message_syndicate

Creates a request for a Syndicate message

Arguments:

nuke_request

Creates a request for the nuclear self destruct codes

Arguments:

pray

Creates a request for a prayer, and notifies admins who have the sound notifications enabled when appropriate

Arguments:

request_for_client

Creates a request and registers the request with all necessary internal tracking lists

Arguments: