Пример #1
0
 public void InitInfoBot(ICharacter character)
 {
     InfoBotKnu temp = new InfoBotKnu(character.Identity);
     var controller = character.Controller as NPCController;
     if (controller != null)
     {
         controller.SetKnuBot(temp);
         LogUtil.Debug(
             DebugInfoDetail.Engine,
             " Initialized Infobot with npc " + character.Identity.ToString(true));
     }
 }
Пример #2
0
        public void InitInfoBot(ICharacter character)
        {
            InfoBotKnu temp       = new InfoBotKnu(character.Identity);
            var        controller = character.Controller as NPCController;

            if (controller != null)
            {
                controller.SetKnuBot(temp);
                LogUtil.Debug(
                    DebugInfoDetail.Engine,
                    " Initialized Infobot with npc " + character.Identity.ToString(true));
            }
        }