Exemplo n.º 1
0
        public static bool Prefix(ShipStatus __instance, [HarmonyArgument(0)] GameOverReason reason)
        {
            EndGameEvent endEvent = new EndGameEvent(__instance, reason);

            GameEventManager.callEndGame(endEvent);

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