Skip to content

Administration - Tickets

This page documents hooks in the administration - tickets category.


CreateTicketFrame(requester, message, claimed)View Source

Purpose

Creates the clientside ticket popup frame for a submitted help ticket.

Category

Administration - Tickets

Realm

Client

Parameters

Player requester The player who opened the ticket.

string message The submitted ticket text to display.

Player claimed The staff member currently assigned to the ticket, when one exists.

Returns

Panel|nil The created ticket frame when the requester is valid.


GetAllCaseClaims()View Source

Purpose

Retrieves aggregated ticket-claim statistics for staff members.

Category

Administration - Tickets

Realm

Server

Returns

Deferred Resolves with a table keyed by admin SteamID containing claim totals and last-claim data.


OnTicketClaimed(client, requester, ticketMessage)View Source

Purpose

Called after a staff member claims a ticket.

Category

Administration - Tickets

Realm

Server

Parameters

Player client The staff member who claimed the ticket.

Player requester The player who opened the ticket.

string ticketMessage The ticket text that was claimed.


OnTicketClosed(client, requester, ticketMessage)View Source

Purpose

Called after a staff member closes a ticket.

Category

Administration - Tickets

Realm

Server

Parameters

Player client The staff member who closed the ticket.

Player requester The player who opened the ticket.

string ticketMessage The ticket text that was closed.


OnTicketCreated(client, message)View Source

Purpose

Called after a player creates a new help ticket.

Category

Administration - Tickets

Realm

Server

Parameters

Player client The player who opened the ticket.

string message The submitted ticket text.


TicketSystemClaim(client, requester, ticketMessage)View Source

Purpose

Called when the ticket system processes a claim action and broadcasts the result.

Category

Administration - Tickets

Realm

Server

Parameters

Player client The staff member claiming the ticket.

Player requester The player who opened the ticket.

string ticketMessage The ticket text being claimed.


TicketSystemClose(client, requester, ticketMessage)View Source

Purpose

Called when the ticket system processes a close action and broadcasts the result.

Category

Administration - Tickets

Realm

Server

Parameters

Player client The staff member closing the ticket.

Player requester The player who opened the ticket.

string ticketMessage The ticket text being closed.