コード例 #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));
 }