테이블 정보를 찾을수없습니다..

    BackendReturnObject BRO = Backend.GameInfo.GetTableList();

    if (BRO.IsSuccess())
    {
        JsonData publics = BRO.GetReturnValuetoJSON()["publicTables"];

        Debug.Log("public Tables-----------------------------------------");
        foreach (JsonData tables in publics)
        {
            Debug.Log(tables.ToString());
        }

        Debug.Log("private Tables-----------------------------------------");
        JsonData privates = BRO.GetReturnValuetoJSON()["privateTables"];
        foreach (JsonData tables in privates)
        {
            Debug.Log(tables.ToString());
        }
    }

    else
    {
        Debug.Log("서버 공통 에러 발생: " + BRO.GetMessage());
    }

위코드를 작성시 작동을하나 디버그로 출력이 되지않습니다

그리고
public void OnClickPublicContents()
{
BackendReturnObject BRO = Backend.GameInfo.GetMyPublicContents(“test”);

    if (BRO.IsSuccess())
    {
        GetGameInfo(BRO.GetReturnValuetoJSON());
    }

    else
    {
        // 에러 체크
        CheckError(BRO);
    }
}

다음으로 실행했을때 test 라는 테이블이 있지만 존재하지 않는 테이블이라 출력됩니다…

안녕하세요 개발자님.

해당 함수(Backend.GameInfo)는 구버전 테이블을 이용한 (구)게임정보기능입니다.

생성하신 테이블이 신버전 테이블일 경우에는 다음과 같은 함수를 이용해야 합니다.

Backend.GameData.GetTableList();

Backend.GameData.GetMyData("test");

빠른 답변 정말감사합니다

public void OnClickGetTableList()
{
BackendReturnObject BRO = Backend.GameData.GetTableList();

    if (BRO.IsSuccess())
    {
        JsonData publics = BRO.GetReturnValuetoJSON()["publicTables"];

        Debug.Log("public Tables-----------------------------------------");
        foreach (JsonData tables in publics)
        {
            Debug.Log(tables.ToString());
        }

        Debug.Log("private Tables-----------------------------------------");
        JsonData privates = BRO.GetReturnValuetoJSON()["privateTables"];
        foreach (JsonData tables in privates)
        {
            Debug.Log(tables.ToString());
        }
    }

    else
    {
        Debug.Log("서버 공통 에러 발생: " + BRO.GetMessage());
    }
}

이런식으로 바꿔서 해보았는데
KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at :0)
LitJson.JsonData.get_Item (System.String prop_name) (at <498e8279b39b41478600b851a0c83f73>:0)
BackEndGameInfo.OnClickGetTableList () (at Assets/BackEndGameInfo.cs:113)

이런식의 오류가 나오네요 어떤 문제가있을까요?

해당 에러는 Json에 접근하는 중 존재하지 않는 Key을 이용해 접근해서 발생하는 에러입니다.

    if (BRO.IsSuccess())
    {
        JsonData publics = BRO.GetReturnValuetoJSON()["tables"];

        Debug.Log("all Tables-----------------------------------------");
        foreach (JsonData tables in publics)
        {
            string tableName = tables["tableName"].ToString();
            string tableExplaination= tables["tableExplaination"].ToString();
            string isChecked= tables["tableExplaination"].ToString();
            string hasSchema= tables["tableExplaination"].ToString();
        }
    }

해당 함수를 호출할 경우 Private, Public 상관없이 모든 테이블의 종류가 나오며, 해당 함수를 통해 얻을 수 있는 값은 위와 같습니다.

자세한 사항은 아래 개발자문서를 참고해주세요.