int KHero::LuaGetOwner(Lua_State* L) { KPlayer* pPlayer = GetOwner(); if (pPlayer) { return pPlayer->LuaGetObj(L); } return 0; }