public static bool IsActionAllowed(IMyEntity entity, MyCustomSafeZoneAction action, long sourceEntityId = 0) { return(MySessionComponentSafeZones.IsActionAllowed((entity as VRage.Game.Entity.MyEntity), GetHacks(MySessionComponentSafeZones.AllowedActions, (int)action), sourceEntityId)); }
public static bool IsActionAllowed(Vector3D point, MyCustomSafeZoneAction action, long sourceEntityId = 0) { return(MySessionComponentSafeZones.IsActionAllowed(point, GetHacks(MySessionComponentSafeZones.AllowedActions, (int)action), sourceEntityId)); }
public static bool IsActionAllowed(BoundingBoxD aabb, MyCustomSafeZoneAction action, long sourceEntityId = 0) { return(MySessionComponentSafeZones.IsActionAllowed(aabb, GetHacks(MySessionComponentSafeZones.AllowedActions, (int)action), sourceEntityId)); }