public OnHarvesting ( Server.Mobile from, Item tool, |
||
from | Server.Mobile | |
tool | Item | |
def | ||
toHarvest | object | |
locked | object | |
last | bool | |
리턴 | bool |
protected override void OnTick() { if (!m_System.OnHarvesting(m_From, m_Tool, m_Definition, m_ToHarvest, m_Locked, ++m_Index == m_Count)) { Stop(); } }
protected override void OnTick() { if (!m_System.OnHarvesting(m_From, m_Tool, m_Definition, m_ToHarvest, m_Locked, ++m_Index == m_Count)) { if (m_From is PlayerMobile) { ((PlayerMobile)m_From).EndPlayerAction(); } Stop(); } }