mirror of
https://github.com/MoxiFoxi411/PlaneRun.git
synced 2026-11-08 19:34:55 +00:00
v0.3.24 - Bug fixes
This commit is contained in:
1 parent
e56d95dee7
commit
2b7b5cbd6a
7 files changed
+40
-171
No files matched your search
+3
-3
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<dependencies>
|
||||
<!-- Internal library dependency generated at build time.
|
||||
<!-- Internal library dependency generated at build time.
|
||||
It also defines the transitive dependencies on play-services
|
||||
-->
|
||||
<androidPackages>
|
||||
@@ -10,4 +10,4 @@
|
||||
</repositories>
|
||||
</androidPackage>
|
||||
</androidPackages>
|
||||
</dependencies>
|
||||
</dependencies>
|
||||
@@ -13,9 +13,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// </copyright>
|
||||
#if UNITY_ANDROID
|
||||
|
||||
namespace GooglePlayGames {
|
||||
#if UNITY_ANDROID
|
||||
namespace GooglePlayGames
|
||||
{
|
||||
///
|
||||
/// This file is automatically generated DO NOT EDIT!
|
||||
///
|
||||
@@ -29,33 +30,32 @@ namespace GooglePlayGames {
|
||||
/// by checking whether it still retains its initial value - we prevent the constants from being
|
||||
/// replaced in the aforementioned search/replace by stripping off the leading and trailing "__".
|
||||
/// </summary>
|
||||
public static class GameInfo {
|
||||
|
||||
public static class GameInfo
|
||||
{
|
||||
private const string UnescapedApplicationId = "APP_ID";
|
||||
private const string UnescapedIosClientId = "IOS_CLIENTID";
|
||||
private const string UnescapedWebClientId = "WEB_CLIENTID";
|
||||
private const string UnescapedNearbyServiceId = "NEARBY_SERVICE_ID";
|
||||
|
||||
public const string ApplicationId = "542756239918"; // Filled in automatically
|
||||
public const string IosClientId = "__IOS_CLIENTID__"; // Filled in automatically
|
||||
public const string WebClientId = ""; // Filled in automatically
|
||||
public const string NearbyConnectionServiceId = "com.MoxiFoxi.PlaneRun";
|
||||
public const string ApplicationId = "__APP_ID__"; // Filled in automatically
|
||||
public const string WebClientId = "__WEB_CLIENTID__"; // Filled in automatically
|
||||
public const string NearbyConnectionServiceId = "__NEARBY_SERVICE_ID__";
|
||||
|
||||
public static bool ApplicationIdInitialized() {
|
||||
return !string.IsNullOrEmpty(ApplicationId) && !ApplicationId.Equals(ToEscapedToken(UnescapedApplicationId));
|
||||
|
||||
public static bool ApplicationIdInitialized()
|
||||
{
|
||||
return !string.IsNullOrEmpty(ApplicationId) &&
|
||||
!ApplicationId.Equals(ToEscapedToken(UnescapedApplicationId));
|
||||
}
|
||||
|
||||
public static bool IosClientIdInitialized() {
|
||||
return !string.IsNullOrEmpty(IosClientId) && !IosClientId.Equals(ToEscapedToken(UnescapedIosClientId));
|
||||
}
|
||||
|
||||
public static bool WebClientIdInitialized() {
|
||||
public static bool WebClientIdInitialized()
|
||||
{
|
||||
return !string.IsNullOrEmpty(WebClientId) && !WebClientId.Equals(ToEscapedToken(UnescapedWebClientId));
|
||||
}
|
||||
|
||||
public static bool NearbyConnectionsInitialized() {
|
||||
public static bool NearbyConnectionsInitialized()
|
||||
{
|
||||
return !string.IsNullOrEmpty(NearbyConnectionServiceId) &&
|
||||
!NearbyConnectionServiceId.Equals(ToEscapedToken(UnescapedNearbyServiceId));
|
||||
!NearbyConnectionServiceId.Equals(ToEscapedToken(UnescapedNearbyServiceId));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -63,9 +63,10 @@ namespace GooglePlayGames {
|
||||
/// </summary>
|
||||
/// <returns>The escaped token.</returns>
|
||||
/// <param name="token">The Token</param>
|
||||
private static string ToEscapedToken(string token) {
|
||||
private static string ToEscapedToken(string token)
|
||||
{
|
||||
return string.Format("__{0}__", token);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif //UNITY_ANDROID
|
||||
Reference in new issue
Block a user