TShockAPI.Hooks.RegionHooks.OnRegionLeft C# (CSharp) Method

OnRegionLeft() public static method

public static OnRegionLeft ( TSPlayer player, Region region ) : void
player TSPlayer
region TShockAPI.DB.Region
return void
        public static void OnRegionLeft(TSPlayer player, Region region)
        {
            if (RegionLeft == null)
            {
                return;
            }

            RegionLeft(new RegionLeftEventArgs(player, region));
        }