Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

User Session Info

Albie edited this page Aug 5, 2020 · 1 revision

Overview

Ubisoft exposes an api to get the time a user logged in (first and last times) and the number of sessions that have been played. We call this the "last seen time".

Notes

  • It doesn't track whether the user is currently in game (at the moment - see here)

Example

private void UpdateLoginTime(AccountInfo user)
{
    // use intellisense to see what's available, as we'll probably end up adding to this at some point
    var loginInfo = d6Client.GetLoginInfo(user);
}