Example #1
0
    public static int GetLoginJson(IntPtr L)
    {
        int       count = LuaDLL.lua_gettop(L);
        const int nRet  = 1;

        if (count == 0)
        {
            LuaScriptMgr.Push(L, PlatformControl.GetLoginJson());
        }
        else
        {
            LuaScriptMgr.Push(L, string.Empty);
            LogParamError("GetLoginJson", count);
        }
        return(GameUtilWrap.CheckReturnNum(L, count, nRet));
    }