Server.Misc.SkillCheck.AllowGain C# (CSharp) Méthode

AllowGain() private static méthode

private static AllowGain ( Server.Mobile from, Skill skill, object obj ) : bool
from Server.Mobile
skill Server.Skill
obj object
Résultat bool
		private static bool AllowGain( Mobile from, Skill skill, object obj )
		{
			if ( AntiMacroCode && from is PlayerMobile && UseAntiMacro[skill.Info.SkillID] )
				return ((PlayerMobile)from).AntiMacroCheck( skill, obj );
			else
				return true;
		}