appendix:harmonyがある時

差分

このページの2つのバージョン間の差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
appendix:harmonyがある時 [2024/12/29 00:29]
fumble
appendix:harmonyがある時 [2024/12/29 00:31] (現在)
fumble
行 66: 行 66:
 渡すときはHarmonyMethod(MethodInfo method)の変換、つまりコンストラクターを呼んで変換させる。 渡すときはHarmonyMethod(MethodInfo method)の変換、つまりコンストラクターを呼んで変換させる。
 <code csharp> <code csharp>
-var transpiler = typeof(トランスパイラーのあるクラス).GetMethod(トランスパイラーのメソッド名); +var transpilermethod = typeof(トランスパイラーのあるクラス).GetMethod(トランスパイラーのメソッド名); 
-Activator.CreateInstance(typeHarmonyMethod, transpiler)+var transpiler = Activator.CreateInstance(typeHarmonyMethod, transpiler);
 </code> </code>
  
  • appendix/harmonyがある時.1735399795.txt.gz
  • 最終更新: 2024/12/29 00:29
  • by fumble