public T Func2() { //------------------------------------------ DelegateBridge _Hotfix0_Func = GenericClass <T> .__Hotfix0_Func2; if (_Hotfix0_Func != null) { _Hotfix0_Func.InvokeSessionStart(); _Hotfix0_Func.InParam <GenericClass <T> >(this); _Hotfix0_Func.Invoke(1); return(_Hotfix0_Func.InvokeSessionEndWithResult <T>()); } //------------------------------------------ return(default(T)); }
public static void Test4 <T>(T a) { //------------------------------------------ DelegateBridge _Hotfix0_Test = HotfixCalc.__Hotfix0_Test4; if (_Hotfix0_Test != null) { _Hotfix0_Test.InvokeSessionStart(); _Hotfix0_Test.InParam <T>(a); _Hotfix0_Test.Invoke(0); _Hotfix0_Test.InvokeSessionEnd(); return; } //------------------------------------------ }
public static int Test3 <T>(T a) { //------------------------------------------ DelegateBridge _Hotfix0_Test = HotfixCalc.__Hotfix0_Test3; if (_Hotfix0_Test != null) { _Hotfix0_Test.InvokeSessionStart(); _Hotfix0_Test.InParam <T>(a); _Hotfix0_Test.Invoke(1); return(_Hotfix0_Test.InvokeSessionEndWithResult <int>()); } //------------------------------------------ return(0); }
public T Test1 <T>() { //------------------------------------------ DelegateBridge _Hotfix0_Test = HotfixCalc.__Hotfix0_Test1; if (_Hotfix0_Test != null) { _Hotfix0_Test.InvokeSessionStart(); _Hotfix0_Test.InParam <HotfixCalc>(this); _Hotfix0_Test.Invoke(1); return(_Hotfix0_Test.InvokeSessionEndWithResult <T>()); } //------------------------------------------ return(default(T)); }
public void GenericTest <T>(T a) { //------------------------------------------ DelegateBridge _Hotfix0_GenericTest = StatefullTest.__Hotfix0_GenericTest; if (_Hotfix0_GenericTest != null) { _Hotfix0_GenericTest.InvokeSessionStart(); _Hotfix0_GenericTest.InParam <StatefullTest>(this); _Hotfix0_GenericTest.InParam <T>(a); _Hotfix0_GenericTest.Invoke(0); _Hotfix0_GenericTest.InvokeSessionEnd(); return; } //------------------------------------------ }
public T GetA(int p) { //------------------------------------------ DelegateBridge _Hotfix0_GetA = GenericStruct <T> .__Hotfix0_GetA; if (_Hotfix0_GetA != null) { _Hotfix0_GetA.InvokeSessionStart(); _Hotfix0_GetA.InParam <GenericStruct <T> >(this); _Hotfix0_GetA.InParam <int>(p); _Hotfix0_GetA.Invoke(1); return(_Hotfix0_GetA.InvokeSessionEndWithResult <T>()); } //------------------------------------------ return(a); }
public void Func1() { //------------------------------------------ DelegateBridge _Hotfix0_Func = GenericClass <T> .__Hotfix0_Func1; if (_Hotfix0_Func != null) { _Hotfix0_Func.InvokeSessionStart(); _Hotfix0_Func.InParam <GenericClass <T> >(this); _Hotfix0_Func.Invoke(0); _Hotfix0_Func.InvokeSessionEnd(); return; } //------------------------------------------ Debug.Log("a=" + a); }
public GenericClass(T a) { this.a = a; //------------------------------------------ DelegateBridge c__Hotfix0_ctor = GenericClass <T> ._c__Hotfix0_ctor; if (c__Hotfix0_ctor != null) { c__Hotfix0_ctor.InvokeSessionStart(); c__Hotfix0_ctor.InParam <GenericClass <T> >(this); c__Hotfix0_ctor.InParam <T>(a); c__Hotfix0_ctor.Invoke(0); c__Hotfix0_ctor.InvokeSessionEnd(); } //------------------------------------------ }
_InnerStruct Bar() { //------------------------------------------ DelegateBridge _Hotfix0_Bar = InnerTypeTest.__Hotfix0_Bar; if (_Hotfix0_Bar != null) { _Hotfix0_Bar.InvokeSessionStart(); _Hotfix0_Bar.InParam <InnerTypeTest>(this); _Hotfix0_Bar.Invoke(1); return(_Hotfix0_Bar.InvokeSessionEndWithResult <InnerTypeTest._InnerStruct>()); } //------------------------------------------ return(new _InnerStruct { x = 1, y = 2 }); }
public void Test5 <T>(int a, params T[] arg) { //------------------------------------------ DelegateBridge _Hotfix0_Test = HotfixCalc.__Hotfix0_Test5; if (_Hotfix0_Test != null) { _Hotfix0_Test.InvokeSessionStart(); _Hotfix0_Test.InParam <HotfixCalc>(this); _Hotfix0_Test.InParam <int>(a); _Hotfix0_Test.InParams <T>(arg); _Hotfix0_Test.Invoke(0); _Hotfix0_Test.InvokeSessionEnd(); return; } //------------------------------------------ }
public T1 Test2 <T1, T2, T3>(T1 a, out T2 b, ref T3 c) { //------------------------------------------ DelegateBridge _Hotfix0_Test = HotfixCalc.__Hotfix0_Test2; if (_Hotfix0_Test != null) { _Hotfix0_Test.InvokeSessionStart(); _Hotfix0_Test.InParam <HotfixCalc>(this); _Hotfix0_Test.InParam <T1>(a); _Hotfix0_Test.InParam <T3>(c); _Hotfix0_Test.Invoke(3); _Hotfix0_Test.OutParam <T2>(1, out b); _Hotfix0_Test.OutParam <T3>(2, out c); return(_Hotfix0_Test.InvokeSessionEndWithResult <T1>()); } //------------------------------------------ b = default(T2); return(a); }