Skip to content

OnFireworkDesignChanged

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnFireworkDesignChanged( PatternFirework instance, Design design, BasePlayer player )
{
    Puts( "OnFireworkDesignChanged works!" );
}

Location

  • PatternFirework::ServerSetFireworkDesign(BaseEntity/RPCMessage rpc)
csharp
//---
	if (expr_152 != null)
	{
		expr_152.Dispose();
	}
	this.Design = design;
	Interface.CallHook("OnFireworkDesignChanged", this, design, rpc.player);
	base.SendNetworkUpdateImmediate(false);
}

Released under the MIT License.