From 44fc394fb8b29e9cb6714d5ba5895afc0700ea2a Mon Sep 17 00:00:00 2001 From: Michael Mackend Date: Wed, 10 Aug 2022 21:12:40 -0700 Subject: [PATCH 1/4] add headers and README for linux v1.7.14 --- README.md | 1 + include/Party.h | 24 +++++++++++------------- include/Party_c.h | 6 ++++-- 3 files changed, 16 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 2633fd2..508ed03 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,4 @@ Please download, unzip, and copy the corresponding asset folder for your platfor * iOS - `/iOS/bin/Release` * Android - `/android/bin` * Win32 - The win32 binaries are not included in the zip assets. They are available on download on [nuget](https://www.nuget.org/packages/Microsoft.PlayFab.PlayFabParty.Cpp.Windows). +* Linux - `/x64/Release/libparty.so` \ No newline at end of file diff --git a/include/Party.h b/include/Party.h index fb22538..281146b 100644 --- a/include/Party.h +++ b/include/Party.h @@ -2842,10 +2842,10 @@ enum class PartyChatTextReceivedOptions /// /// The incoming text was unable to be filtered, and the entire text has been replaced by asterisks. + /// /// /// This value is exclusive to FilteredOffensiveTerms and FilteredEntireMessage. /// - /// FilteredDueToError = 0x4, }; @@ -3314,8 +3314,7 @@ struct PartyTranslation /// Profanity masking is applied after translating the unmasked source transcription. Depending on context, it's /// possible for the transcription to contain masked profanity but not the translation. Similarly, it's possible for /// the translation to contain masked profanity but not the original transcription. Profanity masking can be - /// disabled via - /// . + /// disabled via . /// /// The translation string may be up to c_maxChatTextMessageLength characters long, not including the null /// terminator. Truncation occurs if the translated string length would exceed that limit, which can happen due to @@ -3386,11 +3385,10 @@ struct PartyAudioManipulationSourceStreamConfiguration /// /// /// This defines the limit for the total amount of audio internally queued by the source stream, but not yet - /// retrieved via - /// , - /// plus the total amount of audio retrieved by the app, but not yet returned to the library via - /// . - /// When this total is reached, the source stream will stop producing additional buffers. + /// retrieved via , plus the total amount of audio + /// retrieved by the app, but not yet returned to the library via + /// . When this total is reached, the source stream + /// will stop producing additional buffers. /// /// Because the library processes audio in 40 millisecond intervals, the effective maximum is the nearest multiple /// of 40 less than the specified maximum. The minimum is 40 milliseconds. @@ -8670,8 +8668,8 @@ class PartyLocalChatControl : public PartyChatControl /// device when it does appear. /// /// - /// When using the PlatformUserDefault option on the Xbox platform, the Xbox User Identifier (XUID) must - /// be passed as the audioDeviceSelectionContext value. + /// When using the PlatformUserDefault option on the Xbox platform, the Xbox User Identifier (XUID) must be + /// passed as the audioDeviceSelectionContext value. /// /// /// @@ -8762,8 +8760,8 @@ class PartyLocalChatControl : public PartyChatControl /// device when it does appear. /// /// - /// When using the PlatformUserDefault option on the Xbox platform, the Xbox User Identifier (XUID) must - /// be passed as the audioDeviceSelectionContext value. + /// When using the PlatformUserDefault option on the Xbox platform, the Xbox User Identifier (XUID) must be + /// passed as the audioDeviceSelectionContext value. /// /// /// @@ -10061,7 +10059,7 @@ class PartyManager /// /// /// This method enables the title to configure the processor affinity for internal Party library threads of a given - /// type. On Windows, the Audio type affects both library's directly-owned threads and threads owned by + /// type. On Windows, the Audio type affects both library's directly-owned threads and threads owned by /// XAudio2. For more information, see . /// /// This method may be called at any time before or after and will take effect diff --git a/include/Party_c.h b/include/Party_c.h index 35f8216..689b2ca 100644 --- a/include/Party_c.h +++ b/include/Party_c.h @@ -9,9 +9,11 @@ extern "C" #define PARTY_API __stdcall -#if defined(__ORBIS__) +#if defined(PAVO) #define PARTY_API_ATTRIBUTES __declspec(dllexport) -#elif defined(NX) +#elif defined(NORMA) +#define PARTY_API_ATTRIBUTES __attribute__((visibility("default"))) +#elif(defined(SCORPIUS) || defined(LINUX)) #define PARTY_API_ATTRIBUTES __attribute__((visibility("default"))) #else #define PARTY_API_ATTRIBUTES From 181f0a4a619f8050b909fea4ffa0b5e2fbd4da94 Mon Sep 17 00:00:00 2001 From: Michael Mackend Date: Wed, 10 Aug 2022 21:18:54 -0700 Subject: [PATCH 2/4] fix definitions --- include/Party_c.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/Party_c.h b/include/Party_c.h index 689b2ca..15908b2 100644 --- a/include/Party_c.h +++ b/include/Party_c.h @@ -9,11 +9,9 @@ extern "C" #define PARTY_API __stdcall -#if defined(PAVO) +#if defined(__ORBIS__) #define PARTY_API_ATTRIBUTES __declspec(dllexport) -#elif defined(NORMA) -#define PARTY_API_ATTRIBUTES __attribute__((visibility("default"))) -#elif(defined(SCORPIUS) || defined(LINUX)) +#elif (defined(LINUX) || defined(NX) || defined(SCORPIUS)) #define PARTY_API_ATTRIBUTES __attribute__((visibility("default"))) #else #define PARTY_API_ATTRIBUTES From cef2e85bec4334e76f504b03356fe358c866bfe1 Mon Sep 17 00:00:00 2001 From: Michael Mackend Date: Thu, 11 Aug 2022 11:27:33 -0700 Subject: [PATCH 3/4] remove scorpius --- include/Party_c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Party_c.h b/include/Party_c.h index 15908b2..591c9fa 100644 --- a/include/Party_c.h +++ b/include/Party_c.h @@ -11,7 +11,7 @@ extern "C" #if defined(__ORBIS__) #define PARTY_API_ATTRIBUTES __declspec(dllexport) -#elif (defined(LINUX) || defined(NX) || defined(SCORPIUS)) +#elif (defined(LINUX) || defined(NX)) #define PARTY_API_ATTRIBUTES __attribute__((visibility("default"))) #else #define PARTY_API_ATTRIBUTES From 8f126f703f621cf47b8b8c18ef3d104b6f8e7c3a Mon Sep 17 00:00:00 2001 From: Michael Mackend Date: Thu, 11 Aug 2022 14:36:59 -0700 Subject: [PATCH 4/4] revert party_c.h changes for future refactor --- include/Party_c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Party_c.h b/include/Party_c.h index 591c9fa..35f8216 100644 --- a/include/Party_c.h +++ b/include/Party_c.h @@ -11,7 +11,7 @@ extern "C" #if defined(__ORBIS__) #define PARTY_API_ATTRIBUTES __declspec(dllexport) -#elif (defined(LINUX) || defined(NX)) +#elif defined(NX) #define PARTY_API_ATTRIBUTES __attribute__((visibility("default"))) #else #define PARTY_API_ATTRIBUTES