mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-29 17:32:17 -07:00
Adds the protocol layer for the moderation investigation suite: - Command_GetUserSessions/GetUserAlts/GetModeratorLastLogins/ResetUserPassword/RemoveUserAvatar (1013-1017) - Response extensions 1215-1219 with ServerInfo messages for sessions, alts, and staff logins - last_login on Response_ReportUserInfo and warning_il on Response_WarnList Took 2 minutes
11 lines
429 B
Protocol Buffer
11 lines
429 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
/**
|
|
* The last login date of a staff member (moderator/judge/admin).
|
|
* Used by the moderation "Moderator Last Logins" tool.
|
|
*/
|
|
message ServerInfo_ModeratorLogin {
|
|
optional string user_name = 1; // staff account name
|
|
optional uint64 last_login = 2; // last known login, epoch seconds; 0 = unknown
|
|
optional uint32 user_level = 3; // ServerInfo_User::UserLevelFlag mask (moderator/judge/admin)
|
|
}
|