Skip to content

OnWeaponModChange

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnWeaponModChange( BaseProjectile instance, BasePlayer GetOwnerPlayer() )
{
    Puts( "OnWeaponModChange works!" );
}

Location

  • BaseProjectile::DelayedModsChanged()
csharp
public void DelayedModsChanged()
{
	if (Interface.CallHook("OnWeaponModChange", this, this.GetOwnerPlayer()) != null)
	{
		return;
	}
	Func<ProjectileWeaponMod, ProjectileWeaponMod.Modifier> arg_59_1;
	if ((arg_59_1 = BaseProjectile.<>c.<>9__95_0) == null)
//---

Released under the MIT License.