Class Ticket [-] [+]

An instance of a spell, created when the spell is cast by a Unit.

Inherits all methods from: none

Methods

AppendResponse

Adds a response to the Ticket.

DeleteResponse

Delete the Ticket response.

GetAssignedPlayer

Returns the assigned Player.

GetAssignedToGUID

Returns the assigned guid.

GetChatLog

Return the Ticket chatlog.

GetId

Return the Ticket id.

GetLastModifiedTime

Returns the last modified time from the Ticket.

GetMessage

Returns the message sent in the Ticket.

GetPlayer

Return the Player from the Ticket.

GetPlayerName

Return the Player name from the Ticket.

GetResponse

Return the Ticket response.

IsAssigned

Return true if the Ticket is assigned or false.

IsAssignedNotTo

Return true if the Ticket is not assigned to the GUID or false.

IsAssignedTo

Return true if the Ticket is assigned to the GUID or false.

IsClosed

Returns true if the Ticket is closed or false.

IsCompleted

Returns true if the Ticket is completed or false.

IsFromPlayer

Return true if this GUID is the same as the Player who created the Ticket or false.

SetAssignedTo

Assign the Ticket to a player via his GUID.

SetComment

Set Ticket comment.

SetCompleted

Set Ticket completed.

SetMessage

Set Ticket message.

SetPosition

Set the new Ticket creation position.

SetResolvedBy

Set Ticket resolved by player via his GUID.

SetUnassigned

Set Ticket is unassigned.

SetViewed

Set Ticket is viewed.

Generated on
©2016 - Eluna Lua Engine