Class PlatformServices
- Namespace
- TaleWorlds.PlatformService
- Assembly
- TaleWorlds.PlatformService.dll
public class PlatformServices
- Inheritance
-
PlatformServices
- Inherited Members
Constructors
PlatformServices()
public PlatformServices()
Fields
OnConnectionStateChanged
public static Action<bool> OnConnectionStateChanged
Field Value
OnLobbyClientStateChanged
public static Action<bool, bool> OnLobbyClientStateChanged
Field Value
OnMultiplayerGameStateChanged
public static Action<bool> OnMultiplayerGameStateChanged
Field Value
Properties
Instance
public static IPlatformServices Instance { get; }
Property Value
InvitationServices
public static IPlatformInvitationServices InvitationServices { get; }
Property Value
IsPlatformRequestedContinueGame
public static bool IsPlatformRequestedContinueGame { get; }
Property Value
IsPlatformRequestedMultiplayer
public static bool IsPlatformRequestedMultiplayer { get; }
Property Value
OnPlatformRequestedMultiplayer
public static Action OnPlatformRequestedMultiplayer { get; set; }
Property Value
OnSessionInvitationAccepted
public static Action<SessionInvitationType> OnSessionInvitationAccepted { get; set; }
Property Value
ProviderName
public static string ProviderName { get; }
Property Value
SessionInvitationType
public static SessionInvitationType SessionInvitationType { get; }
Property Value
UserId
public static string UserId { get; }
Property Value
Methods
ConnectionStateChanged(bool)
public static void ConnectionStateChanged(bool isAuthenticated)
Parameters
isAuthenticated
bool
FilterString(string, string)
public static Task<string> FilterString(string content, string defaultContent)
Parameters
Returns
FireOnPlatformRequestedMultiplayer()
public static void FireOnPlatformRequestedMultiplayer()
FireOnSessionInvitationAccepted(SessionInvitationType)
public static void FireOnSessionInvitationAccepted(SessionInvitationType sessionInvitationType)
Parameters
sessionInvitationType
SessionInvitationType
Initialize(IFriendListService[])
public static bool Initialize(IFriendListService[] additionalFriendListServices)
Parameters
additionalFriendListServices
IFriendListService[]
Returns
LobbyClientStateChanged(bool, bool)
public static void LobbyClientStateChanged(bool atLobby, bool isPartyLeaderOrSolo)
Parameters
MultiplayerGameStateChanged(bool)
public static void MultiplayerGameStateChanged(bool isPlaying)
Parameters
isPlaying
bool
OnPlatformMultiplayerRequestHandled()
public static void OnPlatformMultiplayerRequestHandled()
OnSessionInvitationHandled()
public static void OnSessionInvitationHandled()
SetIsPlatformRequestedContinueGame(bool)
public static void SetIsPlatformRequestedContinueGame(bool isRequested)
Parameters
isRequested
bool
Setup(IPlatformServices)
public static void Setup(IPlatformServices platformServices)
Parameters
platformServices
IPlatformServices
Terminate()
public static void Terminate()
TriggerInvitation(List<string>)
[CommandLineFunctionality.CommandLineArgumentFunction("trigger_invitation", "platform_services")]
public static string TriggerInvitation(List<string> strings)
Parameters
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).