Exemplo n.º 1
0
        public void refreshGrid(string arenaName, Action <JSONObject> successCallback, Action <JSONObject> errorCallback)
        {
            var msg = new WWWMessage(this, "game/arena/" + arenaName.Replace(" ", "+"), successCallback, errorCallback);

            Networking.Instance.StartCoroutine(msg.send());
        }
Exemplo n.º 2
0
        public void refreshTopTeams(string arenaName, Action <JSONObject> successCallback, Action <JSONObject> errorCallback)
        {
            var msg = new WWWMessage(this, "arenas/" + arenaName.Replace(" ", "+") + "/teams/top", successCallback, errorCallback);

            Networking.Instance.StartCoroutine(msg.send());
        }
Exemplo n.º 3
0
 public void refreshGrid(string arenaName, Action<JSONObject> successCallback, Action<JSONObject> errorCallback)
 {
     var msg = new WWWMessage(this, "game/arena/" + arenaName.Replace(" ", "+"), successCallback, errorCallback);
     Networking.Instance.StartCoroutine(msg.send());
 }
Exemplo n.º 4
0
        public void refreshArenas(Action <JSONObject> successCallback, Action <JSONObject> errorCallback)
        {
            var msg = new WWWMessage(this, "arenas/list", successCallback, errorCallback);

            Networking.Instance.StartCoroutine(msg.send());
        }
Exemplo n.º 5
0
 public void refreshArenas(Action<JSONObject> successCallback, Action<JSONObject> errorCallback)
 {
     var msg = new WWWMessage(this, "arenas/list", successCallback, errorCallback);
     Networking.Instance.StartCoroutine(msg.send());
 }