Skip to content

OnShopCompleteTrade

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnShopCompleteTrade( ShopFront instance )
{
    Puts( "OnShopCompleteTrade works!" );
}

Location

  • ShopFront::CompleteTrade()
csharp
public void CompleteTrade()
{
	if (this.vendorPlayer != null && this.customerPlayer != null && base.HasFlag(BaseEntity.Flags.Reserved1) && base.HasFlag(BaseEntity.Flags.Reserved2))
	{
		if (Interface.CallHook("OnShopCompleteTrade", this) != null)
		{
			return;
		}
		try
		{
//---

Released under the MIT License.