Пример #1
0
    public void SetKills(eKillMsgType killType, bool isaced, string nameKill, string nameDeath, string readXml, EHeroKillTitle Title = EHeroKillTitle.eNoneTitel)
    {
        KillsDate killdate = new KillsDate();

        killdate.KillsType = killType;
        killdate.isAced    = isaced;
        killdate.NameKill  = nameKill;
        killdate.NameDeath = nameDeath;
        killdate.ReadXml   = readXml;
        killdate.Title     = Title;
        killdate.msgkill   = new MsgKill();
        if (KillMsgQueue.Count <= 5)
        {
            KillMsgQueue.Enqueue(killdate);
            SetKillShow();
        }
    }