Skip to content

OnDoorClosed

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnDoorClosed( Door instance, BasePlayer player )
{
    Puts( "OnDoorClosed works!" );
}

Location

  • Door::RPC_CloseDoor(BaseEntity/RPCMessage rpc)
csharp
//---
	{
		this.SetNavMeshLinkEnabled(false);
	}
	Facepunch.Rust.Analytics.Azure.OnBaseInteract(rpc.player, this);
	this.StartCheckingForBlockages(false);
	Interface.CallHook("OnDoorClosed", this, rpc.player);
}

Released under the MIT License.