Skip to content

OnRidableAnimalClaimed

Usage

  • No return behavior

Example Autogenerated

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

Location

  • BaseRidableAnimal::RPC_Claim(BaseEntity/RPCMessage msg)
csharp
//---
	this.OnClaimedWithToken(item);
	item.UseItem(1);
	Facepunch.Rust.Analytics.Server.VehiclePurchased(base.ShortPrefabName);
	Facepunch.Rust.Analytics.Azure.OnVehiclePurchased(msg.player, this);
	this.AttemptMount(player, false);
	Interface.CallHook("OnRidableAnimalClaimed", this, player);
}

Released under the MIT License.