OnShopCancelClick
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnShopCancelClick( ShopFront instance, BasePlayer player )
{
Puts( "OnShopCancelClick works!" );
}
Location
- ShopFront::CancelClicked(BaseEntity/RPCMessage msg)
csharp
//---
{
if (!this.IsTradingPlayer(msg.player))
{
return;
}
if (Interface.CallHook("OnShopCancelClick", this, msg.player) != null)
{
return;
}
this.vendorPlayer;
this.customerPlayer;
//---