Exemplo 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);
        }
Exemplo 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);
        }