void ConditionEnterCastle::read (PropertyBuffer & propertyBuffer) throw(Error) { try { // read turn m_TargetZoneID = propertyBuffer.getPropertyInt("TargetZoneID"); } catch (NoSuchElementException & nsee) { throw Error(nsee.toString()); } }
void ConditionCanEnterEventZone::read (PropertyBuffer & propertyBuffer) throw(Error) { m_EventID = propertyBuffer.getPropertyInt("EventID"); }