示例#1
0
 //释放所有资源
 public void ReleaseAll()
 {
     for (int i = 0; i < BuffList.Count; ++i)
     {
         Buff buff = BuffList[i];
         ReleaseBuff(buff);
     }
     BuffList.Clear();
 }
示例#2
0
        public void RemoveAllBuffs()
        {
            //note this removes them all but doesnt reset the sparepoints!(should make some sort of 'refreshpoints' procedure for that
            SendServerPacket(new ServerPackets.GuildBuffList {
                Remove = 1, ActiveBuffs = BuffList
            });

            BuffList.Clear();
            RefreshAllStats();

            NeedSave = true;
        }