mirror of
https://github.com/mordentral/AdvancedSessionsPlugin.git
synced 2025-10-28 10:54:17 +00:00
Compare commits
9 Commits
5.5-Locked
...
5.7-Previe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8315e35a8f | ||
|
|
6462cd4c6f | ||
|
|
e576724b63 | ||
|
|
682ac3f676 | ||
|
|
b7b684fae9 | ||
|
|
9eedc08f9a | ||
|
|
07634f173d | ||
|
|
df749735dd | ||
|
|
9a62ea3b61 |
@@ -5,6 +5,9 @@ public class AdvancedSessions : ModuleRules
|
|||||||
{
|
{
|
||||||
public AdvancedSessions(ReadOnlyTargetRules Target) : base(Target)
|
public AdvancedSessions(ReadOnlyTargetRules Target) : base(Target)
|
||||||
{
|
{
|
||||||
|
DefaultBuildSettings = BuildSettingsVersion.Latest;
|
||||||
|
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
|
||||||
|
|
||||||
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
||||||
//bEnforceIWYU = true;
|
//bEnforceIWYU = true;
|
||||||
|
|
||||||
|
|||||||
@@ -151,7 +151,9 @@ void UAdvancedFriendsLibrary::GetFriend(APlayerController *PlayerController, con
|
|||||||
Friend.PresenceInfo.bIsPlaying = pres.bIsPlaying;
|
Friend.PresenceInfo.bIsPlaying = pres.bIsPlaying;
|
||||||
Friend.PresenceInfo.bIsPlayingThisGame = pres.bIsPlayingThisGame;
|
Friend.PresenceInfo.bIsPlayingThisGame = pres.bIsPlayingThisGame;
|
||||||
Friend.PresenceInfo.PresenceState = ((EBPOnlinePresenceState)((int32)pres.Status.State));
|
Friend.PresenceInfo.PresenceState = ((EBPOnlinePresenceState)((int32)pres.Status.State));
|
||||||
|
|
||||||
// #TODO: Check back in on this in shipping, epic is missing the UTF8_TO_TCHAR call on converting this and its making an invalid string
|
// #TODO: Check back in on this in shipping, epic is missing the UTF8_TO_TCHAR call on converting this and its making an invalid string
|
||||||
|
// OnlineFriendPresenceInterfaceSteam has the issue
|
||||||
//Friend.PresenceInfo.StatusString = pres.Status.StatusStr;
|
//Friend.PresenceInfo.StatusString = pres.Status.StatusStr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -266,6 +268,7 @@ void UAdvancedFriendsLibrary::GetStoredFriendsList(APlayerController *PlayerCont
|
|||||||
BPF.PresenceInfo.bIsPlaying = pres.bIsPlaying;
|
BPF.PresenceInfo.bIsPlaying = pres.bIsPlaying;
|
||||||
BPF.PresenceInfo.PresenceState = ((EBPOnlinePresenceState)((int32)pres.Status.State));
|
BPF.PresenceInfo.PresenceState = ((EBPOnlinePresenceState)((int32)pres.Status.State));
|
||||||
// #TODO: Check back in on this in shipping, epic is missing the UTF8_TO_TCHAR call on converting this and its making an invalid string
|
// #TODO: Check back in on this in shipping, epic is missing the UTF8_TO_TCHAR call on converting this and its making an invalid string
|
||||||
|
// OnlineFriendPresenceInterfaceSteam has the issue
|
||||||
//BPF.PresenceInfo.StatusString = pres.Status.StatusStr;
|
//BPF.PresenceInfo.StatusString = pres.Status.StatusStr;
|
||||||
BPF.PresenceInfo.bIsJoinable = pres.bIsJoinable;
|
BPF.PresenceInfo.bIsJoinable = pres.bIsJoinable;
|
||||||
BPF.PresenceInfo.bIsPlayingThisGame = pres.bIsPlayingThisGame;
|
BPF.PresenceInfo.bIsPlayingThisGame = pres.bIsPlayingThisGame;
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ public class AdvancedSteamSessions : ModuleRules
|
|||||||
{
|
{
|
||||||
public AdvancedSteamSessions(ReadOnlyTargetRules Target) : base(Target)
|
public AdvancedSteamSessions(ReadOnlyTargetRules Target) : base(Target)
|
||||||
{
|
{
|
||||||
|
DefaultBuildSettings = BuildSettingsVersion.Latest;
|
||||||
|
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
|
||||||
|
|
||||||
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
||||||
//bEnforceIWYU = true;
|
//bEnforceIWYU = true;
|
||||||
|
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ MSVC_PRAGMA(warning(pop))
|
|||||||
#endif // USING_CODE_ANALYSIS
|
#endif // USING_CODE_ANALYSIS
|
||||||
|
|
||||||
#include <steam/isteamapps.h>
|
#include <steam/isteamapps.h>
|
||||||
#include <steam/isteamapplist.h>
|
//#include <steam/isteamapplist.h>
|
||||||
//#include <OnlineSubsystemSteamTypes.h>
|
//#include <OnlineSubsystemSteamTypes.h>
|
||||||
#pragma pop_macro("ARRAY_COUNT")
|
#pragma pop_macro("ARRAY_COUNT")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user