コード例 #1
0
        public HarvestTarget(Item tool, HarvestSystem system) : base(-1, true, TargetFlags.None)
        {
            m_Tool   = tool;
            m_System = system;

            DisallowMultis = true;
        }
コード例 #2
0
 public HarvestTimer(Mobile from, Item tool, HarvestSystem system, HarvestDefinition def, object toHarvest, object locked) : base(TimeSpan.Zero, def.EffectDelay)
 {
     m_From       = from;
     m_Tool       = tool;
     m_System     = system;
     m_Definition = def;
     m_ToHarvest  = toHarvest;
     m_Locked     = locked;
     m_Count      = Utility.RandomList(def.EffectCounts);
 }
コード例 #3
0
 public HarvestSoundTimer(Mobile from, Item tool, HarvestSystem system, HarvestDefinition def, object toHarvest, object locked, bool last) : base(def.EffectSoundDelay)
 {
     m_From       = from;
     m_Tool       = tool;
     m_System     = system;
     m_Definition = def;
     m_ToHarvest  = toHarvest;
     m_Locked     = locked;
     m_Last       = last;
 }