Skip to content

OnDeepSeaClosed

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnDeepSeaClosed( DeepSeaManager deepSeaManager )
{
    Puts( "OnDeepSeaClosed works!" );
}

Location

  • DeepSeaManager/<CloseDeepSeaAsync>d__107::MoveNext()
csharp
//---
		if (!ConVar.DeepSea.enabled)
		{
			UnityEngine.Object.Destroy(deepSeaManager.gameObject);
		}
		Facepunch.Rust.Analytics.Azure.OnDeepSeaToggled(false);
		Interface.CallHook("OnDeepSeaClosed", deepSeaManager);
		return false;
	}
	this.<>2__current = deepSeaManager.KillAllEntitiesAsync();
	this.<>1__state = 1;
	return true;
//---

Released under the MIT License.