コード例 #1
0
ファイル: CommServerDBCls.cs プロジェクト: knh2673/CatProject
    public CatInfoCls GetCatInfo(int __catNo)
    {
        CatInfoCls temp = null;

        // GET FROM SERVER
        temp.SetInfoRandomize(); // This is dummy

        Debug.Log(temp.GetNo());

        return(temp);
    }
コード例 #2
0
ファイル: CommServerDBCls.cs プロジェクト: knh2673/CatProject
    public CatInfoCls[] GetAllCatInfo()
    {
        CatInfoCls[] temp = null;
        // Get From Server
        int allCatAmount = 3; // This is dummy

        for (int i = 0; i < allCatAmount; ++i)
        {
            temp[i] = new CatInfoCls();
            // Get From Server
            temp[i] = GetCatInfo(i);
        }

        return(temp);
    }
コード例 #3
0
ファイル: CommServerDBCls.cs プロジェクト: knh2673/CatProject
 public int UpdateCatInfo(CatInfoCls __info) // This is dummy
 {
     return(0);
 }