Example #1
0
        private void TravelingDone(SaveData.Heroine heroine)
        {
            if (_monitoringChange && _initialCoordinateType != -1 && !heroine.IsNullOrNpc())
            {
                var currentCoordinateType = heroine.GetCoordinateType();
                if (currentCoordinateType != -1 && currentCoordinateType != _initialCoordinateType)
                {
                    DressPlayer((ChaFileDefine.CoordinateType)currentCoordinateType);
                }
            }

            _initialCoordinateType = -1;
            _monitoringChange      = false;
        }
Example #2
0
 private void TravelingStart(SaveData.Heroine heroine)
 {
     // don't run on NPC chars
     _initialCoordinateType = heroine.IsNullOrNpc() ? -1 : heroine.GetCoordinateType();
     _monitoringChange      = _initialCoordinateType != -1;
 }