Class Online
The online system for communicating with various multiplayer services such as player info, achievements, game lobby or in-game store.
Inheritance
System.Object
Online
Namespace: FlaxEngine.Online
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public static class Online : Object
Properties
Platform
The current online platform.
Declaration
[Unmanaged]
public static IOnlinePlatform Platform { get; }
Property Value
IOnlinePlatform
|
Methods
Initialize(IOnlinePlatform)
Initializes the online system with a given online platform implementation.
Declaration
[Unmanaged]
public static bool Initialize(IOnlinePlatform platform)
Parameters
IOnlinePlatform
platform
The online platform object. |
Returns
System.Boolean
True if failed, otherwise false. |
Remarks
Destroys the current platform (in any already in-use).
Events
PlatformChanged
Event called when current online platform gets changed.
Declaration
[Unmanaged]
public static event Action PlatformChanged
Event Type
System.Action
|