Server.Misc.NotorietyHandlers.Initialize C# (CSharp) Méthode

Initialize() public static méthode

public static Initialize ( ) : void
Résultat void
        public static void Initialize()
        {
            Notoriety.Hues[Notoriety.Innocent]		= 0x59;
            Notoriety.Hues[Notoriety.Ally]			= 0x3F;
            Notoriety.Hues[Notoriety.CanBeAttacked]	= 0x3B2;
            Notoriety.Hues[Notoriety.Criminal]		= 0x3B2;
            Notoriety.Hues[Notoriety.Enemy]			= 0x90;
            Notoriety.Hues[Notoriety.Murderer]		= 0x22;
            Notoriety.Hues[Notoriety.Invulnerable]	= 0x35;

            Notoriety.Handler = new NotorietyHandler( MobileNotoriety );

            Mobile.AllowBeneficialHandler = new AllowBeneficialHandler( Mobile_AllowBeneficial );
            Mobile.AllowHarmfulHandler = new AllowHarmfulHandler( Mobile_AllowHarmful );
        }