static int GetHashCode(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UnityEngine.SceneManagement.Scene obj = (UnityEngine.SceneManagement.Scene)ToLua.CheckObject(L, 1, typeof(UnityEngine.SceneManagement.Scene)); int o = obj.GetHashCode(); LuaDLL.lua_pushinteger(L, o); ToLua.SetBack(L, 1, obj); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
public static int GetHashCode_wrap(long L) { try { long nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L); UnityEngine.SceneManagement.Scene obj = get_obj(nThisPtr); int ret = obj.GetHashCode(); long ret_ptr = FCLibHelper.fc_get_return_ptr(L); FCLibHelper.fc_set_value_int(ret_ptr, ret); } catch (Exception e) { Debug.LogException(e); } return(0); }
public static int obj_hash(long nIntPtr) { UnityEngine.SceneManagement.Scene obj = FCGetObj.GetObj <UnityEngine.SceneManagement.Scene>(nIntPtr); return(obj.GetHashCode()); }