Skip to content

OnCargoShipHarborArrived

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnCargoShipHarborArrived( CargoShip instance )
{
    Puts( "OnCargoShipHarborArrived works!" );
}

Location

  • CargoShip::OnArrivedAtHarbor()
csharp
//---
	else if (this.harborIndex == 1)
	{
		base.SetFlag(BaseEntity.Flags.Reserved4, true, false, true);
	}
	base.Invoke(new Action(this.LeaveHarbor), CargoShip.dock_time);
	Interface.CallHook("OnCargoShipHarborArrived", this);
}

Released under the MIT License.