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