Пример #1
0
    private void ISN_OnLBSetsBoardsLoaded(string array)
    {
        string[] data = array.Split("|" [0]);

        string identifier = data[0];

        foreach (GCLeaderboardSet lb in LeaderboardSets)
        {
            if (lb.Identifier.Equals(identifier))
            {
                for (int i = 1; i < data.Length; i += 3)
                {
                    GCLeaderBoardInfo info = new GCLeaderBoardInfo();
                    info.Title       = data[i];
                    info.Description = data[i + 1];
                    info.Identifier  = data[i + 2];
                    lb.AddBoardInfo(info);
                }

                lb.SendSuccessLoadEvent();

                return;
            }
        }
    }
 public void AddBoardInfo(GCLeaderBoardInfo info)
 {
     _BoardsInfo.Add(info);
 }
Пример #3
0
	private void ISN_OnLBSetsBoardsLoaded(string array) {


		string[] data = array.Split("|" [0]);

		string identifier = data[0];

		foreach(GCLeaderboardSet lb in LeaderboardSets) {
			if(lb.Identifier.Equals(identifier)) {

				for(int i = 1; i < data.Length; i+=3) {
					GCLeaderBoardInfo info =  new GCLeaderBoardInfo();
					info.Title = data[i];
					info.Description = data[i + 1];
					info.Identifier = data[i + 2];
					lb.AddBoardInfo(info);
				}

				lb.SendSuccessLoadEvent();

				return;
			}
		}
		

	}
Пример #4
0
	public GCLeaderboard(string leaderboardId) {
		_info =   new GCLeaderBoardInfo();
		_info.Identifier = leaderboardId;
	}
Пример #5
0
 public GCLeaderboard(string leaderboardId)
 {
     _info            = new GCLeaderBoardInfo();
     _info.Identifier = leaderboardId;
 }
Пример #6
0
	public void AddBoardInfo(GCLeaderBoardInfo info) {
		_BoardsInfo.Add(info);
	}