public static void InitDelegate()
        {
            if (GetRealCityV10 != null)
            {
                if (GetResourcePrice != null)
                {
                    if (GetOutsideTouristMoney != null)
                    {
                        if (GetOutsideGovermentMoney != null)
                        {
                            if (SetOutsideTouristMoney != null)
                            {
                                if (SetOutsideGovermentMoney != null)
                                {
                                    return;
                                }
                            }
                        }
                    }
                }
            }

            DebugLog.LogToFileOnly("Try to InitDelegate in RealCityUtil");
            GetRealCityV10           = FastDelegateFactory.Create <RealCityGetRealCityV10>(Assembly.Load("RealCity").GetType("RealCity.RealCity"), "GetRealCityV10", instanceMethod: false);
            GetResourcePrice         = FastDelegateFactory.Create <RealCityGetResourcePrice>(Assembly.Load("RealCity").GetType("RealCity.CustomAI.RealCityIndustryBuildingAI"), "GetResourcePrice", instanceMethod: false);
            GetOutsideTouristMoney   = FastDelegateFactory.Create <RealCityGetOutsideTouristMoney>(Assembly.Load("RealCity").GetType("RealCity.RealCity"), "GetOutsideTouristMoney", instanceMethod: false);
            GetOutsideGovermentMoney = FastDelegateFactory.Create <RealCityGetOutsideGovermentMoney>(Assembly.Load("RealCity").GetType("RealCity.RealCity"), "GetOutsideGovermentMoney", instanceMethod: false);
            SetOutsideTouristMoney   = FastDelegateFactory.Create <RealCitySetOutsideTouristMoney>(Assembly.Load("RealCity").GetType("RealCity.RealCity"), "SetOutsideTouristMoney", instanceMethod: false);
            SetOutsideGovermentMoney = FastDelegateFactory.Create <RealCitySetOutsideGovermentMoney>(Assembly.Load("RealCity").GetType("RealCity.RealCity"), "SetOutsideGovermentMoney", instanceMethod: false);
        }
 public static void InitDelegate()
 {
     if (GetRealCityV10 != null)
     {
         return;
     }
     if (GetReduceCargoDiv != null)
     {
         return;
     }
     if (GetResourcePrice != null)
     {
         return;
     }
     if (GetOutsideTouristMoney != null)
     {
         return;
     }
     if (GetOutsideGovermentMoney != null)
     {
         return;
     }
     if (SetOutsideTouristMoney != null)
     {
         return;
     }
     if (SetOutsideGovermentMoney != null)
     {
         return;
     }
     GetRealCityV10           = FastDelegateFactory.Create <RealCityGetRealCityV10>(Assembly.Load("RealCity").GetType("RealCity.RealCity"), "GetRealCityV10", instanceMethod: false);
     GetReduceCargoDiv        = FastDelegateFactory.Create <RealCityGetReduceCargoDiv>(Assembly.Load("RealCity").GetType("RealCity.RealCity"), "GetReduceCargoDiv", instanceMethod: false);
     GetResourcePrice         = FastDelegateFactory.Create <RealCityGetResourcePrice>(Assembly.Load("RealCity").GetType("RealCity.CustomAI.RealCityIndustryBuildingAI"), "GetResourcePrice", instanceMethod: false);
     GetOutsideTouristMoney   = FastDelegateFactory.Create <RealCityGetOutsideTouristMoney>(Assembly.Load("RealCity").GetType("RealCity.RealCity"), "GetOutsideTouristMoney", instanceMethod: false);
     GetOutsideGovermentMoney = FastDelegateFactory.Create <RealCityGetOutsideGovermentMoney>(Assembly.Load("RealCity").GetType("RealCity.RealCity"), "GetOutsideGovermentMoney", instanceMethod: false);
     SetOutsideTouristMoney   = FastDelegateFactory.Create <RealCitySetOutsideTouristMoney>(Assembly.Load("RealCity").GetType("RealCity.RealCity"), "SetOutsideTouristMoney", instanceMethod: false);
     SetOutsideGovermentMoney = FastDelegateFactory.Create <RealCitySetOutsideGovermentMoney>(Assembly.Load("RealCity").GetType("RealCity.RealCity"), "SetOutsideGovermentMoney", instanceMethod: false);
 }