Database:Agents
From OpenSimulator
Line 1: | Line 1: | ||
− | '''agents''' ''Records agent (Avatar/User) login details'' | + | '''agents''' ''Records agent (Avatar/User) login details'' (back to [[Database Documentation]])<br> |
<br><br> | <br><br> | ||
The current structure of the agents table is as follows:<br> | The current structure of the agents table is as follows:<br> |
Revision as of 14:35, 22 July 2008
agents Records agent (Avatar/User) login details (back to Database Documentation)
The current structure of the agents table is as follows:
Field | Type | Null | Key | Default | Extra | |
UUID | varchar(36) | NO | PRI | NULL | ||
sessionID | varchar(36) | NO | UNI | NULL | ||
secureSessionID | varchar(36) | NO | UNI | NULL | ||
agentIP | varchar(16) | NO | NULL | |||
agentPort | int(11) | NO | NULL | |||
agentOnline | tinyint(4) | NO | NULL | |||
loginTime | int(11) | NO | NULL | |||
logoutTime | int(11) | NO | NULL | |||
currentRegion | varchar(36) | NO | NULL | |||
currentHandle | bigint(20) unsigned | NO | NULL | |||
currentPos | varchar(64) | NO | NULL |
UUID
The UUID uniquely identifies the avatar associated with the user's account. This master ID 'number' is used for everything the avatar interacts with - it is used to determine permissions, identify belongings, and route messages to and from system and other avatars.
sessionID
For Future Use
SecureSessionID
For Future Use
agentIP
IP address of logged-in agent?
Does not appear to be updated at this time
agentPort
Port the agent is connected on
Does not appear to be updated at this time
agentOnLine
Status of agent (Online/Offline)
loginTime
Time the agent logged in at
logoutTime
Time the agent logged out at
currentRegion
Region UUID for the region the av is presently resident within
currentHandle
Records the grid position of the region the av is presently resident within
currentPos
Records the av's current position with the region in which it is currently resident