public static void Prefix(ref float ___someFloat, ref string ___someString, ref Class6Struct ___someStruct) { ___someFloat = 123; ___someString = "patched"; ___someStruct = new Class6Struct() { d1 = 10.0, d2 = 20.0, d3 = 30.0 }; }
public static void Prefix(ref float ___someFloat, ref string ___someString, ref Class6Struct ___someStruct) { Console.Write("In Class6Patch.Prefix"); ___someFloat = 123; ___someString = "patched"; ___someStruct = new Class6Struct() { d1 = 10.0, d2 = 20.0, d3 = 30.0 }; }