コード例 #1
0
        public AttributeModifier(Affix affix, bool cache = true)
            : base(affix)
        {
            if (cache)
            {
                _cachedAmount = GetAmount();
            }

            Enum.TryParse(Affix.AffixData.Attribute, out _attribute);
        }
コード例 #2
0
ファイル: LogicNode.cs プロジェクト: cr4yz/Hellforge.Game
 public LogicNode(Affix affix, Func <Lua> getLuaContext, AffixEntry affixData)
     : base(affix, getLuaContext)
 {
     _data = affixData;
 }
コード例 #3
0
 public AffixNode(Affix affix, Func <Lua> getLuaContext = null)
 {
     Affix          = affix;
     _getLuaContext = getLuaContext;
 }