Class EOSMetricsManager
- Namespace
- PlayEveryWare.EpicOnlineServices.Samples
Class EOSMetricsManager
is a simplified wrapper for EOS Metrics Interface.
public class EOSMetricsManager : IEOSSubManager, IAuthInterfaceEventListener
- Inheritance
-
EOSMetricsManager
- Implements
-
IAuthInterfaceEventListener
Constructors
EOSMetricsManager()
public EOSMetricsManager()
Methods
BeginSession(string, UserControllerType, string, string)
Wraps EOS_Metrics_BeginPlayerSession functionality
public void BeginSession(string DisplayName, UserControllerType ControllerType = null, string ServerIp = null, string SessionId = null)
Parameters
DisplayName
stringDisplay name to use for metrics tracking
ControllerType
UserControllerTypeController type for tracked user
ServerIp
stringIP of session server. NULL for local session.
SessionId
stringCustom string identifier for game session
EndSession()
Wraps EOS_Metrics_EndPlayerSession functionality
public void EndSession()
IsSessionActive()
Checks if a metrics session is active
public bool IsSessionActive()
Returns
- bool
True if an EOS Metrics sessions is active
OnAuthLogin(LoginCallbackInfo)
public void OnAuthLogin(LoginCallbackInfo loginCallbackInfo)
Parameters
loginCallbackInfo
LoginCallbackInfo
OnAuthLogout(LogoutCallbackInfo)
public void OnAuthLogout(LogoutCallbackInfo logoutCallbackInfo)
Parameters
logoutCallbackInfo
LogoutCallbackInfo