Ryzom Account Management System
1.0
|
Class that handles additional info sent by ticket creation ingame. More...
Public Member Functions | |
__construct () | |
A constructor. | |
set ($values) | |
sets the object's attributes. | |
load_With_TInfoId ($id) | |
loads the object's attributes by using a ticket_info id. | |
load_With_Ticket ($id) | |
loads the object's attributes by using a ticket's id. | |
create () | |
creates a new 'ticket_info' entry. | |
getTInfoId () | |
get tInfoId attribute of the object. | |
getTicket () | |
get ticket attribute of the object. | |
getShardId () | |
get shardid attribute of the object. | |
getUser_Position () | |
get user_position attribute of the object. | |
getView_Position () | |
get view_position attribute of the object. | |
getClient_Version () | |
get client_version attribute of the object. | |
getPatch_Version () | |
get patch_version attribute of the object. | |
getServer_Tick () | |
get server_tick attribute of the object. | |
getConnect_State () | |
get connect_state attribute of the object. | |
getLocal_Address () | |
get local_address attribute of the object. | |
getMemory () | |
get memory attribute of the object. | |
getOS () | |
get os attribute of the object. | |
getProcessor () | |
get processor attribute of the object. | |
getCPUId () | |
get cpu_id attribute of the object. | |
getCPU_Mask () | |
get cpu_mask attribute of the object. | |
getHT () | |
get ht attribute of the object. | |
getNel3D () | |
get nel3d attribute of the object. | |
getUser_Id () | |
get user_id attribute of the object. | |
setTInfoId ($id) | |
set tInfoId attribute of the object. | |
setTicket ($t) | |
set ticket attribute of the object. | |
setShardId ($s) | |
set shardid attribute of the object. | |
setUser_Position ($u) | |
set user_position attribute of the object. | |
setView_Position ($v) | |
set view_position attribute of the object. | |
setClient_Version ($c) | |
set client_version attribute of the object. | |
setPatch_Version ($p) | |
set patch_version attribute of the object. | |
setServer_Tick ($s) | |
set server_tick attribute of the object. | |
setConnect_State ($c) | |
set connect_state attribute of the object. | |
setLocal_Address ($l) | |
set local_address attribute of the object. | |
setMemory ($m) | |
set memory attribute of the object. | |
setOS ($o) | |
set os attribute of the object. | |
setProcessor ($p) | |
set processor attribute of the object. | |
setCPUId ($c) | |
set cpu_id attribute of the object. | |
setCPU_Mask ($c) | |
set cpu_mask attribute of the object. | |
setHT ($h) | |
set ht attribute of the object. | |
setNel3D ($n) | |
set nel3d attribute of the object. | |
setUser_Id ($u) | |
set user_id attribute of the object. | |
Static Public Member Functions | |
static | create_Ticket_Info ($info_array) |
create a ticket_info entry. | |
static | TicketHasInfo ($ticket_id) |
check if a specific ticket has extra info or not. | |
Private Attributes | |
$tInfoId | |
The id of ticket_info entry. | |
$ticket | |
The ticket linked to this ticket_info entry. | |
$shardid | |
The shard id. | |
$user_position | |
The user's character position. | |
$view_position | |
The view position of the character. | |
$client_version | |
The client version in use. | |
$patch_version | |
The patch version in use. | |
$server_tick | |
The current server tick. | |
$connect_state | |
The connect state. | |
$local_address | |
local ip | |
$memory | |
memory usage information | |
$os | |
os information | |
$processor | |
processor information | |
$cpu_id | |
the cpu id | |
$cpu_mask | |
the cpu mask | |
$ht | |
tbh I have no idea :D | |
$nel3d | |
the nel3d version | |
$user_id | |
The users id. |
Class that handles additional info sent by ticket creation ingame.
If a user creates a ticket ingame, there are a lot of extra $_GET parameters being sent inside the http request that might have something todo with the ticket. for example the OS the user uses or the processor of it's computer, but also the current client version etc. This information can be stored and retrieved by using the ticket_info class.
__construct | ( | ) |
A constructor.
Empty constructor
create | ( | ) |
creates a new 'ticket_info' entry.
this method will use the object's attributes for creating a new 'ticket_info' entry in the database.
static create_Ticket_Info | ( | $ | info_array | ) | [static] |
create a ticket_info entry.
$info_array | the info array (this can be the entire $_GET array being sent by the ingame browser) |
get client_version attribute of the object.
getConnect_State | ( | ) |
get connect_state attribute of the object.
getCPU_Mask | ( | ) |
get cpu_mask attribute of the object.
getCPUId | ( | ) |
get cpu_id attribute of the object.
getHT | ( | ) |
get ht attribute of the object.
getLocal_Address | ( | ) |
get local_address attribute of the object.
getMemory | ( | ) |
get memory attribute of the object.
getNel3D | ( | ) |
get nel3d attribute of the object.
getOS | ( | ) |
get os attribute of the object.
getPatch_Version | ( | ) |
get patch_version attribute of the object.
getProcessor | ( | ) |
get processor attribute of the object.
getServer_Tick | ( | ) |
get server_tick attribute of the object.
getShardId | ( | ) |
get shardid attribute of the object.
getTicket | ( | ) |
get ticket attribute of the object.
getTInfoId | ( | ) |
get tInfoId attribute of the object.
getUser_Id | ( | ) |
get user_id attribute of the object.
getUser_Position | ( | ) |
get user_position attribute of the object.
getView_Position | ( | ) |
get view_position attribute of the object.
load_With_Ticket | ( | $ | id | ) |
loads the object's attributes by using a ticket's id.
loads the object's attributes by giving a ticket's entry id.
$id | the id of the ticket, the ticket_info entry of that ticket should be loaded. |
load_With_TInfoId | ( | $ | id | ) |
loads the object's attributes by using a ticket_info id.
loads the object's attributes by giving a ticket_info's entry id.
$id | the id of the ticket_info entry that should be loaded |
set | ( | $ | values | ) |
sets the object's attributes.
$values | should be an array. |
setClient_Version | ( | $ | c | ) |
set client_version attribute of the object.
$c | client version number |
setConnect_State | ( | $ | c | ) |
set connect_state attribute of the object.
$c | string that defines the connect state. |
setCPU_Mask | ( | $ | c | ) |
set cpu_mask attribute of the object.
$c | mask of the cpu |
setCPUId | ( | $ | c | ) |
set cpu_id attribute of the object.
$c | cpu id information |
setHT | ( | $ | h | ) |
set ht attribute of the object.
setLocal_Address | ( | $ | l | ) |
set local_address attribute of the object.
$l | local address |
setMemory | ( | $ | m | ) |
set memory attribute of the object.
$m | memory usage |
setNel3D | ( | $ | n | ) |
set nel3d attribute of the object.
$n | version information about NeL3D |
setOS | ( | $ | o | ) |
set os attribute of the object.
$o | set os version information |
setPatch_Version | ( | $ | p | ) |
set patch_version attribute of the object.
$p | patch version number |
setProcessor | ( | $ | p | ) |
set processor attribute of the object.
$p | processor information |
setServer_Tick | ( | $ | s | ) |
set server_tick attribute of the object.
$s | integer that resembles the server tick |
setShardId | ( | $ | s | ) |
set shardid attribute of the object.
$s | (integer) shard id |
setTicket | ( | $ | t | ) |
set ticket attribute of the object.
$t | integer id of the ticket linked to the info object |
setTInfoId | ( | $ | id | ) |
set tInfoId attribute of the object.
$id | integer id of ticket_info object itself |
setUser_Id | ( | $ | u | ) |
set user_id attribute of the object.
$u | the user_id. |
setUser_Position | ( | $ | u | ) |
set user_position attribute of the object.
$u | the users position |
setView_Position | ( | $ | v | ) |
set view_position attribute of the object.
$v | the view position |
static TicketHasInfo | ( | $ | ticket_id | ) | [static] |
check if a specific ticket has extra info or not.
Not all tickets have extra info, only tickets made ingame do. This function checks if a specific ticket does have a ticket_info entry linked to it.
$ticket_id | the id of the ticket that we want to query |
$client_version [private] |
The client version in use.
$connect_state [private] |
The connect state.
$cpu_id [private] |
the cpu id
$cpu_mask [private] |
the cpu mask
$ht [private] |
tbh I have no idea :D
$local_address [private] |
local ip
$memory [private] |
memory usage information
$nel3d [private] |
the nel3d version
$os [private] |
os information
$patch_version [private] |
The patch version in use.
$processor [private] |
processor information
$server_tick [private] |
The current server tick.
$shardid [private] |
The shard id.
$ticket [private] |
The ticket linked to this ticket_info entry.
$tInfoId [private] |
The id of ticket_info entry.
$user_id [private] |
The users id.
$user_position [private] |
The user's character position.
$view_position [private] |
The view position of the character.