Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
ServerInfo_UserSession Struct Reference

Public Attributes

optional string user_name = 1
 account that was logged in
optional string ip_address = 2
 IP address used for the session.
optional string clientid = 3
 client id used for the session
optional uint64 start_time = 4
 session start, epoch seconds
optional uint64 end_time = 5
 session end, epoch seconds; 0 = still active
optional string connection_type = 6
 "tcp" or "websocket"

Detailed Description

A single login session of a user on the server, as stored in the sessions table:: Used by the moderation "Get User Sessions" tool::

Member Data Documentation

◆ clientid

optional string ServerInfo_UserSession::clientid = 3

client id used for the session

◆ connection_type

optional string ServerInfo_UserSession::connection_type = 6

"tcp" or "websocket"

◆ end_time

optional uint64 ServerInfo_UserSession::end_time = 5

session end, epoch seconds; 0 = still active

◆ ip_address

optional string ServerInfo_UserSession::ip_address = 2

IP address used for the session.

◆ start_time

optional uint64 ServerInfo_UserSession::start_time = 4

session start, epoch seconds

◆ user_name

optional string ServerInfo_UserSession::user_name = 1

account that was logged in


The documentation for this struct was generated from the following file: