Exemplo n.º 1
0
        public bool Apply(EventType type, IEntity sender, object eventData)
        {
            if (systemContainer.PlayerSystem.IsPlayer(sender))
            {
                var morgueFileText = MorgueHelper.GenerateMorgueText(systemContainer);

                systemContainer.SaveSystem.SaveMorgueFile(morgueFileText);
            }

            return(true);
        }
Exemplo n.º 2
0
        public override bool ApplyInternal(IEntity sender, ActionEventData eventData)
        {
            _systemContainer.SaveSystem.SaveMorgueFile(MorgueHelper.GenerateMorgueText(_systemContainer));

            return(false);
        }