Skip to content

Commit 9e2d6cb

Browse files
committed
fix: Resolve merge conflicts.
2 parents 70c14db + 5e85a6e commit 9e2d6cb

File tree

12 files changed

+78
-55
lines changed

12 files changed

+78
-55
lines changed

Assets/Plugins/Android/Core/AndroidFileIOHelper.cs

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
/*
2-
* Copyright (c) 2024 PlayEveryWare
3-
*
4-
* Permission is hereby granted, free of charge, to any person obtaining a copy
5-
* of this software and associated documentation files (the "Software"), to deal
6-
* in the Software without restriction, including without limitation the rights
7-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8-
* copies of the Software, and to permit persons to whom the Software is
9-
* furnished to do so, subject to the following conditions:
10-
*
11-
* The above copyright notice and this permission notice shall be included in all
12-
* copies or substantial portions of the Software.
13-
*
14-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20-
* SOFTWARE.
21-
*/
2+
* Copyright (c) 2024 PlayEveryWare
3+
*
4+
* Permission is hereby granted, free of charge, to any person obtaining a copy
5+
* of this software and associated documentation files (the "Software"), to deal
6+
* in the Software without restriction, including without limitation the rights
7+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
* copies of the Software, and to permit persons to whom the Software is
9+
* furnished to do so, subject to the following conditions:
10+
*
11+
* The above copyright notice and this permission notice shall be included in all
12+
* copies or substantial portions of the Software.
13+
*
14+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20+
* SOFTWARE.
21+
*/
2222

2323
namespace PlayEveryWare.EpicOnlineServices
2424
{
@@ -92,4 +92,4 @@ private static string ProcessRequest(string filePath, UnityWebRequest request)
9292
return text;
9393
}
9494
}
95-
}
95+
}

Assets/Plugins/Source/Editor/Platforms/iOS/IOSBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
#if !EOS_DISABLE
2323
namespace PlayEveryWare.EpicOnlineServices.Editor.Build
2424
{
25+
using EpicOnlineServices.Utility;
2526
using System.IO;
2627
using UnityEditor;
2728
using UnityEditor.Build.Reporting;
28-
using EpicOnlineServices.Utility;
2929

3030
// This conditional is here so that no compiler errors will happen if the
3131
// Unity Editor is not configured to build for iOS.

Assets/Plugins/Windows/Core/WindowsPlatformSpecifics.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
#if !EOS_DISABLE
3636

37-
#define ENABLE_CONFIGURE_STEAM_FROM_MANAGED
37+
//#define ENABLE_CONFIGURE_STEAM_FROM_MANAGED
3838

3939
// If standalone windows and not editor, or the windows editor.
4040
#if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN || EXTERNAL_TO_UNITY

Assets/StreamingAssets/EOS/EpicOnlineServicesConfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
"initialButtonDelayForOverlay": null,
2424
"repeatButtonDelayForOverlay": null,
2525
"toggleFriendsButtonCombination": "SpecialLeft"
26-
}
26+
}

Assets/StreamingAssets/EOS/eos_android_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@
3333
"repeatButtonDelayForOverlay": 0.0,
3434
"toggleFriendsButtonCombination": "None",
3535
"schemaVersion": "1.0"
36-
}
36+
}

Assets/StreamingAssets/EOS/eos_ios_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@
3131
"repeatButtonDelayForOverlay": 0.0,
3232
"toggleFriendsButtonCombination": "None",
3333
"schemaVersion": "1.0"
34-
}
34+
}

Assets/StreamingAssets/EOS/eos_linux_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@
3131
"repeatButtonDelayForOverlay": 0.0,
3232
"toggleFriendsButtonCombination": "None",
3333
"schemaVersion": "1.0"
34-
}
34+
}

com.playeveryware.eos/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
33
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5+
<<<<<<< HEAD
56
## [3.3.4] - 2024-10-28
67

78
### Added
@@ -60,6 +61,23 @@ Improved the configuration interface with explicit priorities and reorganized ad
6061
- Removed temporary files and logging statements used during debugging.
6162
### Removals and Deprecations
6263
- **Obsolete Config Editors:** Removed outdated configuration editors that are no longer in use. [Commit: a2fdd306]
64+
=======
65+
## [3.3.4] - 2024-11-26
66+
67+
### Changed
68+
69+
- Update to EOS SDK 1.14.3.
70+
71+
### Added
72+
73+
- feat: EOSManager can have UserLoginInfo Provided to it
74+
- feat: Authentication Listener knows the difference between a Connect and Auth login
75+
76+
### Fixed
77+
78+
- fix: Add isolated changes that address the Android thread IO issue.
79+
- fix: Correct usage of FileSystemUtility in the IOSBuilder.
80+
>>>>>>> release-3.3.4
6381
6482
## [3.3.3] - 2024-09-19
6583

com.playeveryware.eos/Runtime/Core/Config/Config.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ private static bool TryGetFactory<T>(out Func<Config> factory)
279279
// Ensure static constructor of template variable type is called
280280
RuntimeHelpers.RunClassConstructor(typeof(T).TypeHandle);
281281

282-
if(!s_factories.TryGetValue(typeof(T), out factory))
282+
if (!s_factories.TryGetValue(typeof(T), out factory))
283283
{
284284
throw new InvalidOperationException(
285285
$"No factory method has been registered for " +
@@ -567,7 +567,7 @@ private static bool IsDefault<T>(T configInstance) where T : Config
567567
*/
568568

569569
return IteratePropertiesAndFields(configInstance)
570-
.All(mInfo =>
570+
.All(mInfo =>
571571
GetDefaultValue(mInfo.MemberType) == mInfo.MemberValue);
572572
}
573573

@@ -693,10 +693,10 @@ public bool Equals(MemberInfo a, MemberInfo b)
693693
{
694694
// consider the member values to be equal if one is null and
695695
// the other is empty
696-
return ((a.MemberValue == null &&
697-
((List<string>)b.MemberValue).Count == 0)
696+
return ((a.MemberValue == null &&
697+
((List<string>)b.MemberValue).Count == 0)
698698
||
699-
(((List<string>)a.MemberValue).Count == 0 &&
699+
(((List<string>)a.MemberValue).Count == 0 &&
700700
b.MemberValue == null));
701701
}
702702
else if (a.MemberType == typeof(string))
@@ -715,7 +715,7 @@ public bool Equals(MemberInfo a, MemberInfo b)
715715
public int GetHashCode(MemberInfo memberInfo)
716716
{
717717
return HashCode.Combine(
718-
memberInfo.MemberType,
718+
memberInfo.MemberType,
719719
memberInfo.MemberValue);
720720
}
721721
}
@@ -739,7 +739,7 @@ public int GetHashCode(MemberInfo memberInfo)
739739
/// </returns>
740740
private static IEnumerable<MemberInfo> IteratePropertiesAndFields<T>(
741741
T instance,
742-
BindingFlags bindingAttr =
742+
BindingFlags bindingAttr =
743743
BindingFlags.Public | BindingFlags.Instance)
744744
{
745745
// go over the properties

com.playeveryware.eos/Runtime/Core/Utility/FileSystemUtility.cs

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public class CopyFileProgressInfo
134134
public static bool TryGetTempDirectory(out string path)
135135
{
136136
path = default;
137-
137+
138138
// Nested local function to reduce repetitive code.
139139
string GenerateTempPath()
140140
{
@@ -211,7 +211,7 @@ string GenerateTempPath()
211211
/// </param>
212212
/// <returns></returns>
213213
public static IEnumerable<string> GetDirectories(
214-
IEnumerable<string> filepaths,
214+
IEnumerable<string> filepaths,
215215
bool creationOrder = true)
216216
{
217217
// For each filepath, determine the immediate parent directory of
@@ -223,9 +223,9 @@ public static IEnumerable<string> GetDirectories(
223223

224224
// skip if no parent
225225
if (null == parent) continue;
226-
226+
227227
directoriesToCreate.Add(parent);
228-
228+
229229
}
230230

231231
// Return the list of directories to create in ascending order of
@@ -262,9 +262,9 @@ public static IEnumerable<string> GetDirectories(
262262
/// <param name="cancellationToken">Cancellation token.</param>
263263
/// <returns>Task</returns>
264264
public static async Task CopyFilesAsync(
265-
IList<CopyFileOperation> operations,
266-
CancellationToken cancellationToken = default,
267-
IProgress<CopyFileProgressInfo> progress = null,
265+
IList<CopyFileOperation> operations,
266+
CancellationToken cancellationToken = default,
267+
IProgress<CopyFileProgressInfo> progress = null,
268268
int updateIntervalMS = DefaultUpdateIntervalMS)
269269
{
270270
IEnumerable<string> directoriesToCreate = GetDirectories(
@@ -302,9 +302,9 @@ public static async Task CopyFilesAsync(
302302
// Copy the files asynchronously with the provided
303303
// cancellation token, and progress stuff.
304304
await CopyFilesAsyncInternal(
305-
operationsList,
306-
cancellationToken,
307-
progress,
305+
operationsList,
306+
cancellationToken,
307+
progress,
308308
progressInfo);
309309
}
310310
else
@@ -322,9 +322,9 @@ await CopyFilesAsyncInternal(
322322
/// <param name="progressInfo">Progress information.</param>
323323
/// <returns>Task</returns>
324324
private static async Task CopyFilesAsyncInternal(
325-
IEnumerable<CopyFileOperation> operations,
326-
CancellationToken cancellationToken = default,
327-
IProgress<CopyFileProgressInfo> progress = null,
325+
IEnumerable<CopyFileOperation> operations,
326+
CancellationToken cancellationToken = default,
327+
IProgress<CopyFileProgressInfo> progress = null,
328328
CopyFileProgressInfo progressInfo = default)
329329
{
330330
var tasks = operations.Select(async copyOperation =>
@@ -361,14 +361,14 @@ private static async Task CopyFilesAsyncInternal(
361361
/// <param name="cancellationToken">Cancellation token.</param>
362362
/// <returns>Task</returns>
363363
private static async Task CopyFileAsync(
364-
CopyFileOperation op,
364+
CopyFileOperation op,
365365
CancellationToken cancellationToken)
366366
{
367367
// Maximum number of times the operation is retried if it fails.
368368
const int maxRetries = 3;
369369

370370
// This is the initial delay before the operation is retried.
371-
const int delayMilliseconds = 200;
371+
const int delayMilliseconds = 200;
372372

373373
for (int attempt = 0; attempt < maxRetries; attempt++)
374374
{
@@ -401,7 +401,7 @@ await Task.Run(() =>
401401
// exponentially increase the delay to maximize the chance
402402
// it will succeed without waiting too long.
403403
var delay = delayMilliseconds * (int)Math.Pow(2, attempt);
404-
404+
405405
// Construct detailed message regarding the nature of the problem.
406406
StringBuilder sb = new();
407407
sb.AppendLine($"Exception occurred during the following copy operation:");
@@ -685,7 +685,7 @@ private static void CreateDirectory(DirectoryInfo dInfo)
685685
{
686686
dInfo.Create();
687687
}
688-
catch(Exception ex)
688+
catch (Exception ex)
689689
{
690690
Debug.LogException(ex);
691691
}
@@ -790,7 +790,7 @@ public static void CleanDirectory(string directoryPath, bool ignoreGit = true)
790790
{
791791
// Skip .git directories
792792
if (ignoreGit && subDir.EndsWith(".git")) { continue; }
793-
793+
794794
// TODO: This is a little bit dangerous as one developer has found out. If the output directory is not
795795
// empty, and contains directories and files unrelated to output, this will (without prompting)
796796
// delete them. So, if you're outputting to, say the "Desktop" directory, it will delete everything
@@ -846,4 +846,4 @@ public static void OpenDirectory(string path)
846846
}
847847
#endif
848848
}
849-
}
849+
}

0 commit comments

Comments
 (0)