Esempio n. 1
0
 private static IEnumerable <CodeInstruction> Transpiler(IEnumerable <CodeInstruction> codes)
 {
     return(Trans.ReplaceCall("InLobby", AccessTools.Method(typeof(JIPAcceptConn), "MaybeInLobby"), codes));
 }
Esempio n. 2
0
 private static IEnumerable <CodeInstruction> Transpiler(IEnumerable <CodeInstruction> codes)
 {
     return(Trans.FieldReadModifier("m_match_has_started", AccessTools.Method(typeof(MPJoinInProgress), "MatchHasStartedMod"), codes));
 }