[1.3]AccumulateStoryEvent - what replaced it?

Started by dekeceh, July 21, 2021, 08:31:46 PM

Previous topic - Next topic

dekeceh

Trying to update a mod, and previously it was calling; (Pawn)patient.records.AccumulateStoryEvent(StoryEventDefOf.TendedByPlayer);
Looks like that function is no longer valid, and StoryEventDefOf no longer exists. So, what's the new function?

RawCode

StoryEventDefOf is not "function" it's kind of enum.

you open game's dll for 120 with dnspy and type AccumulateStoryEvent in search
mark or remember few places where this method is used

then you open game's dll for 130 and navigate to that places and check, what methods called now