Exemple #1
0
        public static bool Prefix(ShipStatus __instance, [HarmonyArgument(0)] GameOverReason reason)
        {
            EndGameEvent endEvent = new EndGameEvent(__instance, reason);

            GameEventManager.callEndGame(endEvent);

            return(true);
        }
Exemple #2
0
 public static void callEndGame(EndGameEvent endEvent)
 {
     EndGame?.Invoke(null, endEvent);
 }
Exemple #3
0
 public virtual void EndGame(object sender, EndGameEvent endEvent)
 {
 }