Show / Hide Table of Contents

Class InteractUtils

Inheritance
System.Object
InteractUtils
Namespace: Eco.Gameplay.Interactions
Assembly: Eco.Gameplay.dll
Syntax
public static class InteractUtils : Object

Methods

TooFarWithFudgeAndNotify(Player, Vector3i, Single)

Return true if the player is too far for the interaction, and notify the player and server. Gives 1 meter of 'fudge' since this is primarily used to detect hacking.

Declaration
public static bool TooFarWithFudgeAndNotify(this Player player, Vector3i pos, float distance = 0F)
Parameters
Type Name Description
Player player
Vector3i pos
System.Single distance
Returns
Type Description
System.Boolean
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾