You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Style: Format code with clang-format 6.0.1
This commit is contained in:
@@ -139,7 +139,6 @@ Error GameCenter::post_score(Variant p_score) {
|
||||
|
||||
[GKScore reportScores:@[ reporter ]
|
||||
withCompletionHandler:^(NSError *error) {
|
||||
|
||||
Dictionary ret;
|
||||
ret["type"] = "post_score";
|
||||
if (error == nil) {
|
||||
@@ -177,7 +176,6 @@ Error GameCenter::award_achievement(Variant p_params) {
|
||||
|
||||
[GKAchievement reportAchievements:@[ achievement ]
|
||||
withCompletionHandler:^(NSError *error) {
|
||||
|
||||
Dictionary ret;
|
||||
ret["type"] = "award_achievement";
|
||||
if (error == nil) {
|
||||
@@ -196,7 +194,6 @@ Error GameCenter::award_achievement(Variant p_params) {
|
||||
void GameCenter::request_achievement_descriptions() {
|
||||
|
||||
[GKAchievementDescription loadAchievementDescriptionsWithCompletionHandler:^(NSArray *descriptions, NSError *error) {
|
||||
|
||||
Dictionary ret;
|
||||
ret["type"] = "achievement_descriptions";
|
||||
if (error == nil) {
|
||||
@@ -252,7 +249,6 @@ void GameCenter::request_achievement_descriptions() {
|
||||
void GameCenter::request_achievements() {
|
||||
|
||||
[GKAchievement loadAchievementsWithCompletionHandler:^(NSArray *achievements, NSError *error) {
|
||||
|
||||
Dictionary ret;
|
||||
ret["type"] = "achievements";
|
||||
if (error == nil) {
|
||||
@@ -347,7 +343,6 @@ Error GameCenter::request_identity_verification_signature() {
|
||||
|
||||
GKLocalPlayer *player = [GKLocalPlayer localPlayer];
|
||||
[player generateIdentityVerificationSignatureWithCompletionHandler:^(NSURL *publicKeyUrl, NSData *signature, NSData *salt, uint64_t timestamp, NSError *error) {
|
||||
|
||||
Dictionary ret;
|
||||
ret["type"] = "identity_verification_signature";
|
||||
if (error == nil) {
|
||||
|
||||
Reference in New Issue
Block a user