Esempio n. 1
0
        public static void RemoveBuff(GUnit unit, IBuffData buffData, bool removeFromBuffDataList = true)
        {
            var buffModule = ObjectBuffModuleDict.Get(buffData.GetType().GetHashCode());

            buffModule.Finish(unit, buffData, removeFromBuffDataList);
        }
Esempio n. 2
0
        public static void AddBuff(GUnit unit, IBuffData buffData, bool removeWhenFinish = true)
        {
            var buffModule = ObjectBuffModuleDict.Get(buffData.GetType().GetHashCode());

            buffModule.Start(unit, buffData, removeWhenFinish);
        }