Skip to content

CanAccessVendingMachine

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void CanAccessVendingMachine( DeliveryDroneConfig config, VendingMachine vendingMachine )
{
    Puts( "CanAccessVendingMachine works!" );
}

Location

  • MarketTerminal::<GetDeliveryEligibleVendingMachines>g__IsEligible|42_0(VendingMachine vendingMachine, UnityEngine.Vector3 offset, int n)
csharp
[CompilerGenerated]
private bool <GetDeliveryEligibleVendingMachines>g__IsEligible|42_0(VendingMachine vendingMachine, Vector3 offset, int n)
{
	object returnvar = Interface.CallHook("CanAccessVendingMachine", this.config, vendingMachine);
	if (returnvar is bool)
	{
		return (bool)returnvar;
	}
	RaycastHit raycastHit;
//---

Released under the MIT License.