public static void Prefix(SendQuestEventInteraction __instance) { var self = __instance; var _ref = At.GetValue(typeof(SendQuestEventInteraction), self, "m_questReference") as QuestEventReference; var _event = _ref.Event; var s = _ref.EventUID; if (_event != null && s != null) { LogQuestEvent(_event, -1); } }
private void SendQuestEventInteraction_OnActivate(On.SendQuestEventInteraction.orig_OnActivate orig, SendQuestEventInteraction self) { OLogger.Log($"OnActivate"); }