public void create(DungeonUserModel dungeonUserModel, CallBackCreate callback)
        {
            this.createCallback = callback;
            WWWForm form = new WWWForm();

            form.AddField("dungeon_id", dungeonUserModel.dungeon_id);
            form.AddField("user_id", Token.GetUserId());
            form.AddField("session", Token.GetToken());
            httpHandlerScript.POST(Config.apiUrl + "dungeonsUsers/store", CallBackCreateDungeonUser, form);
        }
        void CallBackUpdate(string response)
        {
            if (response == "")
            {
                return;
            }
            DungeonUserModel dungeonUserModel = JsonUtility.FromJson <DungeonUserModel>(response);

            print(dungeonUserModel);
        }
        void CallBackGetActiveDungeonByUserId(string response)
        {
            if (response == "")
            {
                return;
            }
            DungeonUserModel dungeonUserModel = JsonUtility.FromJson <DungeonUserModel>(response);

            print(dungeonUserModel);
            getActiveCallback(dungeonUserModel, "");
        }
 void CallBackCreateDungeonUser(string response)
 {
     /* Error Enum Pending */
     if (response == "invalid_session" || response == "invalid_dungeon" || response == "invalid_user_profile" || response == "insufficient_level" || response == "already_in_dungeon")
     {
         createCallback(new DungeonUserModel(), response);
     }
     else
     {
         DungeonUserModel dungeonUserModel = JsonUtility.FromJson <DungeonUserModel>(response);
         print(dungeonUserModel);
         createCallback(dungeonUserModel, "");
     }
 }