//释放所有资源 public void ReleaseAll() { for (int i = 0; i < BuffList.Count; ++i) { Buff buff = BuffList[i]; ReleaseBuff(buff); } BuffList.Clear(); }
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; }