private void OnFinishPlayerEnterWorldForAny() { CustomLoadHooks.TriggerHook(RewardsPlayer.EnterWorldValidator, RewardsPlayer.MyValidatorKey); LoadHooks.AddWorldUnloadOnceHook(() => { CustomLoadHooks.ClearHook(RewardsPlayer.EnterWorldValidator, RewardsPlayer.MyValidatorKey); }); }
internal void PostOnEnterWorld() { CustomLoadHooks.TriggerHook(LicensesPlayer.EnterWorldValidator, LicensesPlayer.MyValidatorKey); LoadHooks.AddWorldUnloadOnceHook(() => { CustomLoadHooks.ClearHook(LicensesPlayer.EnterWorldValidator, LicensesPlayer.MyValidatorKey); }); }