Source

UnrealMagicOfDoomOhYeah / OnlineSubsystemPC.txt

OnlineSubsystemPC/Classes/OnlineSubsystemPC.uc
class OnlineSubsystemPC extends OnlineSubsystemCommonImpl

    event UniqueNetId GetPlayerUniqueNetIdFromIndex(int UserIndex)
    event string GetPlayerNicknameFromIndex(int UserIndex)
    function AddAddFriendByNameCompleteDelegate(byte LocalUserNum,delegate<OnAddFriendByNameComplete> FriendDelegate);
    function AddConnectionStatusChangeDelegate(delegate<OnConnectionStatusChange> ConnectionStatusDelegate);
    function AddControllerChangeDelegate(delegate<OnControllerChange> ControllerChangeDelegate);
    function AddExternalUIChangeDelegate(delegate<OnExternalUIChange> ExternalUIDelegate);
    function AddFlushOnlineStatsCompleteDelegate(delegate<OnFlushOnlineStatsComplete> FlushOnlineStatsCompleteDelegate);
    function AddFriendInviteReceivedDelegate(byte LocalUserNum,delegate<OnFriendInviteReceived> InviteDelegate);
    function AddFriendMessageReceivedDelegate(byte LocalUserNum,delegate<OnFriendMessageReceived> MessageDelegate);
    function AddFriendsChangeDelegate(byte LocalUserNum,delegate<OnFriendsChange> FriendsDelegate)
    function AddJoinFriendGameCompleteDelegate(delegate<OnJoinFriendGameComplete> JoinFriendGameCompleteDelegate);
    function AddKeyboardInputDoneDelegate(delegate<OnKeyboardInputComplete> InputDelegate);
    function AddLinkStatusChangeDelegate(delegate<OnLinkStatusChange> LinkStatusDelegate);
    function AddLoginCancelledDelegate(delegate<OnLoginCancelled> CancelledDelegate);
    function AddLoginChangeDelegate(delegate<OnLoginChange> LoginDelegate);
    function AddLoginFailedDelegate(byte LocalUserNum,delegate<OnLoginFailed> LoginDelegate);
    function AddLoginStatusChangeDelegate(delegate<OnLoginStatusChange> LoginStatusDelegate,byte LocalUserNum);
    function AddLogoutCompletedDelegate(byte LocalUserNum,delegate<OnLogoutCompleted> LogoutDelegate);
    function AddMutingChangeDelegate(delegate<OnMutingChange> MutingDelegate)
    function AddPlayerTalkingDelegate(delegate<OnPlayerTalkingStateChange> TalkerDelegate);
    function AddReadFriendsCompleteDelegate(byte LocalUserNum,delegate<OnReadFriendsComplete> ReadFriendsCompleteDelegate)
    function AddReadOnlineStatsCompleteDelegate(delegate<OnReadOnlineStatsComplete> ReadOnlineStatsCompleteDelegate);
    function AddReadPlayerStorageCompleteDelegate(byte LocalUserNum,delegate<OnReadPlayerStorageComplete> ReadPlayerStorageCompleteDelegate);
    function AddReadPlayerStorageForNetIdCompleteDelegate(UniqueNetId NetId,delegate<OnReadPlayerStorageForNetIdComplete> ReadPlayerStorageForNetIdCompleteDelegate);
    function AddReadProfileSettingsCompleteDelegate(byte LocalUserNum,delegate<OnReadProfileSettingsComplete> ReadProfileSettingsCompleteDelegate)
    function AddReadTitleFileCompleteDelegate(delegate<OnReadTitleFileComplete> ReadTitleFileCompleteDelegate);
    function AddReceivedGameInviteDelegate(byte LocalUserNum,delegate<OnReceivedGameInvite> ReceivedGameInviteDelegate);
    function AddRecognitionCompleteDelegate(byte LocalUserNum,delegate<OnRecognitionComplete> RecognitionDelegate)
    function AddRegisterHostStatGuidCompleteDelegate(delegate<OnFlushOnlineStatsComplete> RegisterHostStatGuidCompleteDelegate);
    function AddStorageDeviceChangeDelegate(delegate<OnStorageDeviceChange> StorageDeviceChangeDelegate);
    function AddWritePlayerStorageCompleteDelegate(byte LocalUserNum,delegate<OnWritePlayerStorageComplete> WritePlayerStorageCompleteDelegate);
    function AddWriteProfileSettingsCompleteDelegate(byte LocalUserNum,delegate<OnWriteProfileSettingsComplete> WriteProfileSettingsCompleteDelegate)
    function ClearAddFriendByNameCompleteDelegate(byte LocalUserNum,delegate<OnAddFriendByNameComplete> FriendDelegate);
    function ClearConnectionStatusChangeDelegate(delegate<OnConnectionStatusChange> ConnectionStatusDelegate);
    function ClearControllerChangeDelegate(delegate<OnControllerChange> ControllerChangeDelegate);
    function ClearExternalUIChangeDelegate(delegate<OnExternalUIChange> ExternalUIDelegate);
    function ClearFlushOnlineStatsCompleteDelegate(delegate<OnFlushOnlineStatsComplete> FlushOnlineStatsCompleteDelegate);
    function ClearFriendInviteReceivedDelegate(byte LocalUserNum,delegate<OnFriendInviteReceived> InviteDelegate);
    function ClearFriendMessageReceivedDelegate(byte LocalUserNum,delegate<OnFriendMessageReceived> MessageDelegate);
    function ClearFriendsChangeDelegate(byte LocalUserNum,delegate<OnFriendsChange> FriendsDelegate)
    function ClearJoinFriendGameCompleteDelegate(delegate<OnJoinFriendGameComplete> JoinFriendGameCompleteDelegate);
    function ClearKeyboardInputDoneDelegate(delegate<OnKeyboardInputComplete> InputDelegate);
    function ClearLinkStatusChangeDelegate(delegate<OnLinkStatusChange> LinkStatusDelegate);
    function ClearLoginCancelledDelegate(delegate<OnLoginCancelled> CancelledDelegate);
    function ClearLoginChangeDelegate(delegate<OnLoginChange> LoginDelegate);
    function ClearLoginFailedDelegate(byte LocalUserNum,delegate<OnLoginFailed> LoginDelegate);
    function ClearLoginStatusChangeDelegate(delegate<OnLoginStatusChange> LoginStatusDelegate,byte LocalUserNum);
    function ClearLogoutCompletedDelegate(byte LocalUserNum,delegate<OnLogoutCompleted> LogoutDelegate);
    function ClearMutingChangeDelegate(delegate<OnFriendsChange> MutingDelegate)
    function ClearPlayerTalkingDelegate(delegate<OnPlayerTalkingStateChange> TalkerDelegate);
    function ClearReadFriendsCompleteDelegate(byte LocalUserNum,delegate<OnReadFriendsComplete> ReadFriendsCompleteDelegate)
    function ClearReadOnlineStatsCompleteDelegate(delegate<OnReadOnlineStatsComplete> ReadOnlineStatsCompleteDelegate);
    function ClearReadPlayerStorageCompleteDelegate(byte LocalUserNum,delegate<OnReadPlayerStorageComplete> ReadPlayerStorageCompleteDelegate);
    function ClearReadPlayerStorageForNetIdCompleteDelegate(UniqueNetId NetId,delegate<OnReadPlayerStorageForNetIdComplete> ReadPlayerStorageForNetIdCompleteDelegate);
    function ClearReadProfileSettingsCompleteDelegate(byte LocalUserNum,delegate<OnReadProfileSettingsComplete> ReadProfileSettingsCompleteDelegate)
    function ClearReadTitleFileCompleteDelegate(delegate<OnReadTitleFileComplete> ReadTitleFileCompleteDelegate);
    function ClearReceivedGameInviteDelegate(byte LocalUserNum,delegate<OnReceivedGameInvite> ReceivedGameInviteDelegate);
    function ClearRecognitionCompleteDelegate(byte LocalUserNum,delegate<OnRecognitionComplete> RecognitionDelegate)
    function ClearRegisterHostStatGuidCompleteDelegateDelegate(delegate<OnFlushOnlineStatsComplete> RegisterHostStatGuidCompleteDelegate);
    function ClearStorageDeviceChangeDelegate(delegate<OnStorageDeviceChange> StorageDeviceChangeDelegate);
    function ClearWritePlayerStorageCompleteDelegate(byte LocalUserNum,delegate<OnWritePlayerStorageComplete> WritePlayerStorageCompleteDelegate);
    function ClearWriteProfileSettingsCompleteDelegate(byte LocalUserNum,delegate<OnWriteProfileSettingsComplete> WriteProfileSettingsCompleteDelegate)
    function EFeaturePrivilegeLevel CanCommunicate(byte LocalUserNum);
    function EFeaturePrivilegeLevel CanDownloadUserContent(byte LocalUserNum);
    function EFeaturePrivilegeLevel CanPlayOnline(byte LocalUserNum);
    function EFeaturePrivilegeLevel CanPurchaseContent(byte LocalUserNum);
    function EFeaturePrivilegeLevel CanShowPresenceInformation(byte LocalUserNum);
    function EFeaturePrivilegeLevel CanViewPlayerProfiles(byte LocalUserNum);
    function ELoginStatus GetLoginStatus(byte LocalUserNum)
    function ENATType GetNATType()
    function ENetworkNotificationPosition GetNetworkNotificationPosition();
    function EOnlineEnumerationReadState GetFriendsList(byte LocalUserNum,out array<OnlineFriend> Friends,optional int Count,optional int StartingAt);
    function EOnlineEnumerationReadState GetTitleFileState(string FileName);
    function FreeStats(OnlineStatsRead StatsRead);
    function GetFriendMessages(byte LocalUserNum,out array<OnlineFriendMessage> FriendMessages);
    function OnlinePlayerStorage GetPlayerStorage(byte LocalUserNum)
    function OnlineProfileSettings GetProfileSettings(byte LocalUserNum)
    function SetNetworkNotificationPosition(ENetworkNotificationPosition NewPos);
    function SetOnlineStatus(byte LocalUserNum,int StatusId,const out array<LocalizedStringSetting> LocalizedStringSettings,const out array<SettingsProperty> Properties);
    function StartNetworkedVoice(byte LocalUserNum);
    function StopNetworkedVoice(byte LocalUserNum);
    function bool AcceptFriendInvite(byte LocalUserNum,UniqueNetId RequestingPlayer);
    function bool AddFriend(byte LocalUserNum,UniqueNetId NewFriend,optional string Message);
    function bool AddFriendByName(byte LocalUserNum,string FriendName,optional string Message);
    function bool AreAnyFriends(byte LocalUserNum,out array<FriendsQuery> Query);
    function bool AutoLogin();
    function bool DeleteMessage(byte LocalUserNum,int MessageIndex);
    function bool DenyFriendInvite(byte LocalUserNum,UniqueNetId RequestingPlayer);
    function bool FlushOnlineStats(name SessionName);
    function bool GetRecognitionResults(byte LocalUserNum,out array<SpeechRecognizedWord> Words);
    function bool GetTitleFileContents(string FileName,out array<byte> FileContents);
    function bool GetUniquePlayerId(byte LocalUserNum,out UniqueNetId PlayerId)
    function bool HasLinkConnection()
    function bool IsControllerConnected(int ControllerId)
    function bool IsFriend(byte LocalUserNum,UniqueNetId PlayerId);
    function bool IsGuestLogin(byte LocalUserNum);
    function bool IsHeadsetPresent(byte LocalUserNum);
    function bool IsLocalLogin(byte LocalUserNum);
    function bool IsLocalPlayerTalking(byte LocalUserNum);
    function bool IsMuted(byte LocalUserNum,UniqueNetId PlayerId);
    function bool IsRemotePlayerTalking(UniqueNetId PlayerId);
    function bool JoinFriendGame(byte LocalUserNum,UniqueNetId Friend);
    function bool Login(byte LocalUserNum,string LoginName,string Password,optional bool bWantsLocalOnly);
    function bool Logout(byte LocalUserNum);
    function bool MuteAll(byte LocalUserNum,bool bAllowFriends);
    function bool MuteRemoteTalker(byte LocalUserNum,UniqueNetId PlayerId);
    function bool ReadFriendsList(byte LocalUserNum,optional int Count,optional int StartingAt);
    function bool ReadOnlineStats(const out array<UniqueNetId> Players,OnlineStatsRead StatsRead);
    function bool ReadOnlineStatsByRank(OnlineStatsRead StatsRead,optional int StartIndex = 1,optional int NumToRead = 100);
    function bool ReadOnlineStatsByRankAroundPlayer(byte LocalUserNum,OnlineStatsRead StatsRead,optional int NumRows = 10);
    function bool ReadOnlineStatsForFriends(byte LocalUserNum,OnlineStatsRead StatsRead);
    function bool ReadPlayerStorage(byte LocalUserNum,OnlinePlayerStorage PlayerStorage);
    function bool ReadPlayerStorageForNetId(UniqueNetId NetId,OnlinePlayerStorage PlayerStorage);
    function bool ReadTitleFile(string FileToRead);
    function bool RegisterHostStatGuid(const out string HostStatGuid);
    function bool RegisterLocalTalker(byte LocalUserNum);
    function bool RegisterRemoteTalker(UniqueNetId PlayerId);
    function bool RegisterStatGuid(UniqueNetId PlayerId,const out string ClientStatGuid);
    function bool RemoveFriend(byte LocalUserNum,UniqueNetId FormerFriend);
    function bool SelectVocabulary(byte LocalUserNum,int VocabularyId);
    function bool SendGameInviteToFriend(byte LocalUserNum,UniqueNetId Friend,optional string Text);
    function bool SendGameInviteToFriends(byte LocalUserNum,array<UniqueNetId> Friends,optional string Text);
    function bool SendMessageToFriend(byte LocalUserNum,UniqueNetId Friend,string Message);
    function bool SetRemoteTalkerPriority(byte LocalUserNum,UniqueNetId PlayerId,int Priority);
    function bool SetSpeechRecognitionObject(byte LocalUserNum,SpeechRecognition SpeechRecogObj);
    function bool ShowFriendsUI(byte LocalUserNum);
    function bool ShowKeyboardUI(byte LocalUserNum,string TitleText,string DescriptionText, optional bool bIsPassword = false, optional bool bShouldValidate = true, optional string DefaultText, optional int MaxResultLength = 256);
    function bool ShowLoginUI(optional bool bShowOnlineOnly = false);
    function bool StartSpeechRecognition(byte LocalUserNum);
    function bool StopSpeechRecognition(byte LocalUserNum);
    function bool UnmuteAll(byte LocalUserNum);
    function bool UnmuteRemoteTalker(byte LocalUserNum,UniqueNetId PlayerId);
    function bool UnregisterLocalTalker(byte LocalUserNum);
    function bool UnregisterRemoteTalker(UniqueNetId PlayerId);
    function bool WriteOnlinePlayerScores(name SessionName,int LeaderboardId,const out array<OnlinePlayerScore> PlayerScores);
    function bool WriteOnlineStats(name SessionName,UniqueNetId Player,OnlineStatsWrite StatsWrite);
    function bool WritePlayerStorage(byte LocalUserNum,OnlinePlayerStorage PlayerStorage);
    function string GetClientStatGuid();
    function string GetHostStatGuid();
    function string GetKeyboardInputResults(out byte bWasCanceled);
    function string GetPlayerNickname(byte LocalUserNum)
    native event bool Init();
    native function bool ReadProfileSettings(byte LocalUserNum,OnlineProfileSettings ProfileSettings);
    native function bool WriteProfileSettings(byte LocalUserNum,OnlineProfileSettings ProfileSettings);