Ejemplo n.º 1
0
        private static void OnLevel(BotEvents.Player.LevelUpEventArgs args)
        {
            const string title   = "I Leveled Up!";
            var          message = FormatIt("I Leveled up from {0} to {1}.", args.OldLevel, args.NewLevel);

            SendNotification(message, title);
        }
Ejemplo n.º 2
0
 private void Player_OnLevelUp(BotEvents.Player.LevelUpEventArgs args)
 {
     ClearItemCache();
 }