示例#1
0
文件: Specials.cs 项目: k0204/Harmony
 static void Prefix(ConcreteClass __instance, string def, AnotherStruct loc)
 {
     Console.WriteLine("ConcreteClass_Patch.Prefix");
 }
示例#2
0
文件: Specials.cs 项目: k0204/Harmony
 public override SomeStruct Method(string def, AnotherStruct loc)
 {
     return(true);
 }
示例#3
0
 static void Prefix(ConcreteClass __instance, string def, AnotherStruct loc)
 {
     TestTools.Log("ConcreteClass_Patch.Method.Prefix");
 }
示例#4
0
文件: Specials.cs 项目: k0204/Harmony
 public virtual SomeStruct Method(string checkingDef, AnotherStruct loc)
 {
     return(SomeStruct.WasAccepted);
 }
示例#5
0
 public virtual SomeStruct Method(string originalDef, AnotherStruct loc)
 {
     return(SomeStruct.WasAccepted);
 }