Class Online
The online system for communicating with various multiplayer services such as player info, achievements, game lobby or in-game store.
Inheritance
Online
Assembly: FlaxEngine.dll
File: Engine/Online/Online.h
Syntax
public class Online
Fields
Platform
The current online platform.
Declaration
public static IOnlinePlatform* Platform
Field Value
IOnlinePlatform
|
PlatformChanged
Event called when current online platform gets changed.
Declaration
public static Action PlatformChanged
Field Value
Action
|
Methods
Initialize(IOnlinePlatform* platform)
Initializes the online system with a given online platform implementation.
Destroys the current platform (in any already in-use).
Declaration
public static bool Initialize(IOnlinePlatform* platform)
Parameters
IOnlinePlatform
platform
The online platform object. |
Returns
bool
True if failed, otherwise false. |