Table of Contents

Main

Properties
public static PlayerAccount Main { get; }

Gets the current main player account that has logged in to coherence Cloud locally. By default, this returns the first player account that has logged in to coherence Cloud using any authentication method.

If no player accounts are logged in, this will be null.

The main player account can also be manually set to a desired player account using SetAsMain().

Property Value
Type Description
PlayerAccount
See Also
GetMainAsync(CancellationToken)