Skip to content

Commit

Permalink
Releases/release 1.0 (#15)
Browse files Browse the repository at this point in the history
* Updated iOS to 1.0 (#13)

* updated source code to release_1.0_draft

* updated public headers

* update for v1.0 (#14)
  • Loading branch information
Vicodex authored and MichaelMackendMS committed Oct 29, 2019
1 parent b96cc76 commit c740cb5
Show file tree
Hide file tree
Showing 12 changed files with 1,384 additions and 58 deletions.
1 change: 0 additions & 1 deletion android/PartySampleNetworkCommon/lib/NetworkManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,6 @@ PartyStateChangeResultToReasonString(
case PartyStateChangeResult::CanceledByTitle: return "Operation canceled by title.";
case PartyStateChangeResult::UserCreateNetworkThrottled: return "The PartyLocalUser specified in the call to PartyManager::CreateNewNetwork() has created too many networks and cannot create new networks at this time";
case PartyStateChangeResult::TitleNotEnabledForParty: return "The title has not been configured properly in the Party portal";
case PartyStateChangeResult::TitleCreateNetworkThrottled: return "The title has created too many networks";
case PartyStateChangeResult::NetworkLimitReached: return "The network is full and is not allowing new devices or users to join";
case PartyStateChangeResult::NetworkNoLongerExists: return "The network no longer exists";
case PartyStateChangeResult::NetworkNotJoinable: return "The network is not currently allowing new devices or users to join";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ namespace PlayFabInternal
void SetNamespace(const std::string& eventName); // Sets the event namespace
void SetName(const std::string& eventName); // Sets the event name
const std::string& GetName() const; // Gets the event name
const std::string& GetNamespace() const; // Gets the event namespace
void SetEntity(const PlayFabInternal::EventsModels::EntityKey& entity); // Sets which Entity the event is about
void SetProperty(const std::string& name, const std::string& value); // Sets a value of a string property by name
void SetProperty(const std::string& name, const bool value); // Sets a value of a bool property by name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,6 @@ PartyStateChangeResultToReasonString(
case PartyStateChangeResult::CanceledByTitle: return "Operation canceled by title.";
case PartyStateChangeResult::UserCreateNetworkThrottled: return "The PartyLocalUser specified in the call to PartyManager::CreateNewNetwork() has created too many networks and cannot create new networks at this time";
case PartyStateChangeResult::TitleNotEnabledForParty: return "The title has not been configured properly in the Party portal";
case PartyStateChangeResult::TitleCreateNetworkThrottled: return "The title has created too many networks";
case PartyStateChangeResult::NetworkLimitReached: return "The network is full and is not allowing new devices or users to join";
case PartyStateChangeResult::NetworkNoLongerExists: return "The network no longer exists";
case PartyStateChangeResult::NetworkNotJoinable: return "The network is not currently allowing new devices or users to join";
Expand Down
2 changes: 1 addition & 1 deletion iOS/PartySample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _Note: a registered PlayFab title is required to use PartySample app. Please ref
## Building
Please use the latest Xcode.

1. Download `PlayFabParty.framework-for-iOS-Release.zip` from a PlayFabParty's GitHub repository release.
1. Download `PlayFabParty.framework-for-iOS-(arch)-(no/with-bitcode)-Release.zip` from a PlayFabParty's GitHub repository release.
2. Unzip it and copy `PlayFabParty.framework` and `libplayfabxplatcppsdk.a` to folder `/iOS/bin/Release` in your cloned PlayFabParty repository.
3. Navigate to `/iOS/PartySample/app` in your repository and open `partysample_ios.xcodeproj` in Xcode.
4. Select `partysample_ios` project in the Project Navigator. Select `partysample_ios` target in the main panel. Please provide your iOS developer signing settings (Provisioning Profile, Team, Signing Certificate).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_DOCUMENTATION_COMMENTS = NO;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
Expand Down Expand Up @@ -267,7 +267,7 @@
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_DOCUMENTATION_COMMENTS = NO;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
Expand Down
18 changes: 10 additions & 8 deletions iOS/PartySample/app/partysample_ios.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
13630CBB222C7B5D008E0A00 /* SimpleClient.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13630CBA222C7B5D008E0A00 /* SimpleClient.mm */; };
13630CC0222C84CC008E0A00 /* SimpleClientImpl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 13630CBE222C84CC008E0A00 /* SimpleClientImpl.cpp */; };
13CF09A32235DC0C00FB676F /* UserSelectViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13CF09A22235DC0C00FB676F /* UserSelectViewController.mm */; };
54A5262C234D425500D429C3 /* PlayFabParty.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 54A5262B234D425500D429C3 /* PlayFabParty.framework */; };
54A5262D234D425500D429C3 /* PlayFabParty.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 54A5262B234D425500D429C3 /* PlayFabParty.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
54E38C13232AAB0B00E48B07 /* libplayfabxplatcppsdk.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 54E38C12232AAB0B00E48B07 /* libplayfabxplatcppsdk.a */; };
54E38C15232AABF900E48B07 /* PlayFabParty.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 54E38C14232AABF900E48B07 /* PlayFabParty.framework */; };
54E38C16232AABF900E48B07 /* PlayFabParty.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 54E38C14232AABF900E48B07 /* PlayFabParty.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
A3B691CD228BE58200C34ED4 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A3B691CC228BE58200C34ED4 /* AudioToolbox.framework */; };
D392581922B1E123004D4A62 /* NetworkStateChangeManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D392581822B1E123004D4A62 /* NetworkStateChangeManager.cpp */; };
D3AADB9322C061820026C332 /* libnetworkcommon.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D3AADB7A22C0603A0026C332 /* libnetworkcommon.a */; };
Expand All @@ -46,13 +46,13 @@
/* End PBXContainerItemProxy section */

/* Begin PBXCopyFilesBuildPhase section */
54E38C17232AABF900E48B07 /* Embed Frameworks */ = {
54A5262E234D425500D429C3 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
54E38C16232AABF900E48B07 /* PlayFabParty.framework in Embed Frameworks */,
54A5262D234D425500D429C3 /* PlayFabParty.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -80,6 +80,7 @@
13CF09A12235DC0C00FB676F /* UserSelectViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UserSelectViewController.h; sourceTree = "<group>"; };
13CF09A22235DC0C00FB676F /* UserSelectViewController.mm */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.objcpp; path = UserSelectViewController.mm; sourceTree = "<group>"; };
13CF09A52235FA6C00FB676F /* Config.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; path = Config.h; sourceTree = "<group>"; };
54A5262B234D425500D429C3 /* PlayFabParty.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = ../../bin/Release/PlayFabParty.framework; sourceTree = "<group>"; };
54E38C12232AAB0B00E48B07 /* libplayfabxplatcppsdk.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = ../../bin/Release/libplayfabxplatcppsdk.a; sourceTree = "<group>"; };
54E38C14232AABF900E48B07 /* PlayFabParty.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = ../../bin/Release/PlayFabParty.framework; sourceTree = "<group>"; };
A3B691CC228BE58200C34ED4 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
Expand All @@ -106,7 +107,7 @@
D3F89B7C22DF075300302E99 /* AVFoundation.framework in Frameworks */,
D3AADB9322C061820026C332 /* libnetworkcommon.a in Frameworks */,
A3B691CD228BE58200C34ED4 /* AudioToolbox.framework in Frameworks */,
54E38C15232AABF900E48B07 /* PlayFabParty.framework in Frameworks */,
54A5262C234D425500D429C3 /* PlayFabParty.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -161,6 +162,7 @@
135415E4222B9F0600A23E16 /* Frameworks */ = {
isa = PBXGroup;
children = (
54A5262B234D425500D429C3 /* PlayFabParty.framework */,
54E38C14232AABF900E48B07 /* PlayFabParty.framework */,
54E38C12232AAB0B00E48B07 /* libplayfabxplatcppsdk.a */,
D3F89B7B22DF075300302E99 /* AVFoundation.framework */,
Expand Down Expand Up @@ -210,7 +212,7 @@
135415B5222B9E5400A23E16 /* Sources */,
135415B6222B9E5400A23E16 /* Frameworks */,
135415B7222B9E5400A23E16 /* Resources */,
54E38C17232AABF900E48B07 /* Embed Frameworks */,
54A5262E234D425500D429C3 /* Embed Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -349,7 +351,7 @@
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_DOCUMENTATION_COMMENTS = NO;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
Expand Down Expand Up @@ -419,7 +421,7 @@
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_DOCUMENTATION_COMMENTS = NO;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
Expand Down
1 change: 0 additions & 1 deletion iOS/PartySample/app/src/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ - (IBAction)handleChatOptionClick:(UIButton*)sender

- (IBAction)handleLeaveButtonClick:(UIButton*)sender
{
NSString *userId = [m_client getSelectedUserName];
NSDictionary* myUser;
for (NSDictionary* user in self.remoteUsers)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ namespace PlayFabInternal
void SetNamespace(const std::string& eventName); // Sets the event namespace
void SetName(const std::string& eventName); // Sets the event name
const std::string& GetName() const; // Gets the event name
const std::string& GetNamespace() const; // Gets the event namespace
void SetEntity(const PlayFabInternal::EventsModels::EntityKey& entity); // Sets which Entity the event is about
void SetProperty(const std::string& name, const std::string& value); // Sets a value of a string property by name
void SetProperty(const std::string& name, const bool value); // Sets a value of a bool property by name
Expand Down

0 comments on commit c740cb5

Please sign in to comment.