Skip to content

OnFreeableContainerRelease

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnFreeableContainerRelease( FreeableLootContainer instance, BasePlayer ply )
{
    Puts( "OnFreeableContainerRelease works!" );
}

Location

  • FreeableLootContainer::Release(BasePlayer ply)
csharp
public void Release(BasePlayer ply)
{
	if (Interface.CallHook("OnFreeableContainerRelease", this, ply) != null)
	{
		return;
	}
	this.GetRB().isKinematic = false;
	this.buoyancy.enabled = true;
//---

Released under the MIT License.