Example #1
0
//	public void OnCreateChallengeSuccess(CreateChallengeData msg)
//	{
//		if (createChallengeSuccess != null) {
//			createChallengeSuccess (msg);
//			print ("Create challenge success event fired!");
//		}
//	}

    public void OnCreateChallengeFailed(GSErrorData error)
    {
        if (createChallengeFailed != null)
        {
            createChallengeFailed(error);
            print("Create challenge failed event fired!");
        }
    }
Example #2
0
 public void OnGetLeaderboardDataFailed(GSErrorData error)
 {
     if (getLeaderboardDataFailed != null)
     {
         getLeaderboardDataFailed(error);
         print("Get leaderboard data failed event fired!");
     }
 }
Example #3
0
//	public void OnSocialLeaderboardSuccess(GSFriendsData data)
//	{
//		if (socialLeaderboardSuccess != null) {
//			socialLeaderboardSuccess (data);
//			print ("Social leaderboard success event fired!");
//		}
//	}

    public void OnSocialLeaderboardFailed(GSErrorData error)
    {
        if (socialLeaderboardFailed != null)
        {
            socialLeaderboardFailed(error);
            print("Social leaderboard failed event fired!");
        }
    }
Example #4
0
 public void OnFBConnectFailed(GSErrorData error)
 {
     if (fbConnectFailed != null)
     {
         fbConnectFailed(error);
         print("FB connect failed event fired!");
     }
 }
Example #5
0
 public void OnGetRankFailed(GSErrorData error)
 {
     if (getRankFailed != null)
     {
         getRankFailed(error);
         print("Get rank failed event fired!");
     }
 }
Example #6
0
 public void OnListFBFriendsRequestFailed(GSErrorData error)
 {
     if (listFBFriendsRequest != null)
     {
         listFBFriendsRequest(error);
         print("List FB friends failed event fired!");
     }
 }
Example #7
0
//	public void OnFbLogin(FbLoginData result)
//	{
//		if (fbLogin != null) {
//			fbLogin (result);
//			print ("FB logged in event fired!");
//		}
//	}

//	public void OnFbFriendsList(FriendsListData result)
//	{
//		if (fbFriendsList != null) {
//			fbFriendsList (result);
//			print ("Got FB friends list event fired!");
//		}
//	}

    public void OnUpdateMMRFailed(GSErrorData error)
    {
        if (updateMMRFailed != null)
        {
            updateMMRFailed(error);
            print("UpdateMMR failed event fired!");
        }
    }
Example #8
0
 public void OnGSLoginFailed(GSErrorData error)
 {
     if (gamesparksLoginFailed != null)
     {
         gamesparksLoginFailed(error);
         print("On GS login failed event fired!");
         print(error.error);
     }
 }
Example #9
0
 public void OnGSRegistrationFailed(GSErrorData error)
 {
     if (gamesparksRegistrationFailed != null)
     {
         gamesparksRegistrationFailed(error);
         print("On GS registration failed event fired!");
         print(error.error);
     }
 }