Example #1
0
 public List<MatchLite> GenerateFullOddsLiteFromText(string text1, bool flag1, bool flag2, bool flag3, bool flag4, bool b1)
 {
     ArrayList list2 = new ArrayList();
     string str3 = "";
     int num2 = 0;
     List<MatchLite> list3 = new List<MatchLite>();
     int hour = 0;
     DateTime time = Conversions.ToDate(SpiderFunction.GetEarlyMarketStartTime(DateTime.Now));
     string str4 = "";
     string str2 = "";
     while (num2 > -1)
     {
         str3 = CommonFunction.substring(text1, num2, "Array('", "');", ref num2);
         if (str3 != string.Empty)
         {
             list2 = CommonFunction.SeperateStringBySymbol(str3, "','");
             if (list2.Count >= 0x1c)
             {
                 MatchLite lite = new MatchLite();
                 lite.set_MatchID(Conversions.ToString(list2[0]));
                 if (list2[1].ToString().ToLower().Contains("h/t"))
                 {
                     lite.set_RunningMinutes(0x2d);
                     lite.set_RunningStatus(EnumCollection.eRunningStatus.HT);
                     lite.set_GameType(EnumCollection.eGameType.Running);
                     lite.set_MatchTime(DateTime.Now);
                 }
                 else if (list2[1].ToString().Length <= 2)
                 {
                     lite.set_RunningMinutes((int) Math.Round(Conversion.Val(RuntimeHelpers.GetObjectValue(list2[1]))));
                     lite.set_RunningStatus(EnumCollection.eRunningStatus.Running);
                     lite.set_GameType(EnumCollection.eGameType.Running);
                     lite.set_MatchTime(DateTime.Now);
                 }
                 else if (list2[1].ToString().Length >= 15)
                 {
                     hour = (int) Math.Round(Conversion.Val(list2[1].ToString().Substring(9, 2)));
                     if ((list2[1].ToString().Substring(14, 1).ToLower() == "p") && ((hour >= 1) & (hour <= 11)))
                     {
                         hour += 12;
                     }
                     DateTime time3 = new DateTime(DateTime.Now.Year, (int) Math.Round(Conversion.Val(list2[1].ToString().Substring(0, 2))), (int) Math.Round(Conversion.Val(list2[1].ToString().Substring(3, 2))), hour, (int) Math.Round(Conversion.Val(list2[1].ToString().Substring(12, 2))), 0);
                     lite.set_MatchTime(time3);
                     lite.set_RunningStatus(EnumCollection.eRunningStatus.DeadBall);
                     lite.set_GameType(EnumCollection.eGameType.Today);
                 }
                 if (lite.get_GameType() != EnumCollection.eGameType.Running)
                 {
                     if (SpiderFunction.IsEarlyMarket(time, lite.get_MatchTime()))
                     {
                         lite.set_GameType(EnumCollection.eGameType.Early);
                     }
                 }
                 else
                 {
                     lite.set_HomeScore((int) Math.Round(Conversion.Val(RuntimeHelpers.GetObjectValue(list2[0x12]))));
                     lite.set_AwayScore((int) Math.Round(Conversion.Val(RuntimeHelpers.GetObjectValue(list2[0x13]))));
                 }
                 if (((lite.get_GameType() == EnumCollection.eGameType.Running) & flag1) | ((lite.get_GameType() != EnumCollection.eGameType.Running) & (flag2 | flag3)))
                 {
                     int num3;
                     lite.set_League(Conversions.ToString(list2[2]));
                     lite.set_HomeName(Conversions.ToString(list2[5]));
                     if (lite.get_HomeName().Contains("/font"))
                     {
                         num3 = 0;
                         lite.set_HomeName(CommonFunction.substring(lite.get_HomeName(), 0, ">", "<", ref num3));
                     }
                     lite.set_AwayName(Conversions.ToString(list2[6]));
                     if (lite.get_AwayName().Contains("/font"))
                     {
                         num3 = 0;
                         lite.set_AwayName(CommonFunction.substring(lite.get_AwayName(), 0, ">", "<", ref num3));
                     }
                     if (lite.get_Handicap() == "0.0")
                     {
                         lite.set_AwayColor(Color.Blue);
                         lite.set_HomeColor(Color.Blue);
                     }
                     else if (Operators.ConditionalCompareObjectEqual(list2[7], "H", false))
                     {
                         lite.set_AwayColor(Color.Blue);
                         lite.set_HomeColor(Color.Red);
                     }
                     else
                     {
                         lite.set_AwayColor(Color.Red);
                         lite.set_HomeColor(Color.Blue);
                     }
                     lite.set_Company("SingBet");
                     lite.set_Type(EnumCollection.eMatchType.Match);
                     lite.set_GlobalLastUpdate(DateTime.Now);
                     str2 = Conversions.ToString(list2[3]);
                     str4 = Conversions.ToString(list2[4]);
                     MatchLite item = lite.CloneObject();
                     item.set_HandicapID(str2);
                     item.set_Handicap(Conversions.ToString(list2[8]));
                     if (item.get_Handicap() != string.Empty)
                     {
                         item.set_Handicap(SportBookFunction.ConvertHDPDashedTypeWithZero(item.get_Handicap().Replace(" ", "").Replace("/", "-")));
                     }
                     object[] arguments = new object[1];
                     ArrayList list4 = list2;
                     num3 = 9;
                     arguments[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                     object[] objArray2 = arguments;
                     bool[] copyBack = new bool[] { true };
                     if (copyBack[0])
                     {
                         list4[num3] = RuntimeHelpers.GetObjectValue(objArray2[0]);
                     }
                     item.set_HomeOverOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", objArray2, null, null, copyBack)));
                     objArray2 = new object[1];
                     list4 = list2;
                     num3 = 10;
                     objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                     arguments = objArray2;
                     copyBack = new bool[] { true };
                     if (copyBack[0])
                     {
                         list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                     }
                     item.set_AwayUnderOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                     item.set_HomeOverBetURL(Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject((((base._strRootURL + "/app/member/FT_order/FT_order_r.php?gid=" + item.get_MatchID()) + "&uid=" + this._strUID) + "&type=H" + "&gnum=") + str2 + "&strong=", list2[7]), "&odd_f_type="), this._strOddFType)));
                     item.set_AwayUnderBetURL(Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject((((base._strRootURL + "/app/member/FT_order/FT_order_r.php?gid=" + item.get_MatchID()) + "&uid=" + this._strUID) + "&type=C" + "&gnum=") + str4 + "&strong=", list2[7]), "&odd_f_type="), this._strOddFType)));
                     item.set_BetCoverage(EnumCollection.eBetCoverage.FT);
                     item.set_BetType(EnumCollection.eBetType.HDP);
                     if (item.get_HomeOverOdds() != 0.0)
                     {
                         item.UpdateCommission();
                         list3.Add(item);
                     }
                     MatchLite lite4 = lite.CloneObject();
                     lite4.set_HandicapID(str4);
                     lite4.set_Handicap(Conversions.ToString(list2[11]));
                     if (lite4.get_Handicap() != string.Empty)
                     {
                         lite4.set_Handicap(SportBookFunction.ConvertHDPDashedTypeWithZero(lite4.get_Handicap().Replace(" ", "").Replace("/", "-")));
                     }
                     lite4.set_AwayColor(Color.Blue);
                     lite4.set_HomeColor(Color.Blue);
                     objArray2 = new object[1];
                     list4 = list2;
                     num3 = 13;
                     objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                     arguments = objArray2;
                     copyBack = new bool[] { true };
                     if (copyBack[0])
                     {
                         list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                     }
                     lite4.set_AwayUnderOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                     objArray2 = new object[1];
                     list4 = list2;
                     num3 = 14;
                     objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                     arguments = objArray2;
                     copyBack = new bool[] { true };
                     if (copyBack[0])
                     {
                         list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                     }
                     lite4.set_HomeOverOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                     lite4.set_AwayUnderBetURL(base._strRootURL + "/app/member/FT_order/FT_order_ou.php?gid=" + lite4.get_MatchID() + "&uid=" + this._strUID + "&type=H&gnum=" + str2 + "&odd_f_type=" + this._strOddFType);
                     lite4.set_HomeOverBetURL(base._strRootURL + "/app/member/FT_order/FT_order_ou.php?gid=" + lite4.get_MatchID() + "&uid=" + this._strUID + "&type=C&gnum=" + str4 + "&odd_f_type=" + this._strOddFType);
                     lite4.set_BetCoverage(EnumCollection.eBetCoverage.FT);
                     lite4.set_BetType(EnumCollection.eBetType.OU);
                     if (lite4.get_HomeOverOdds() != 0.0)
                     {
                         lite4.UpdateCommission();
                         list3.Add(lite4);
                     }
                     MatchLite lite2 = lite.CloneObject();
                     lite2.set_HandicapID(str2);
                     lite2.set_Handicap("0.0");
                     lite2.set_AwayColor(Color.Blue);
                     lite2.set_HomeColor(Color.Blue);
                     if (lite.get_GameType() == EnumCollection.eGameType.Running)
                     {
                         objArray2 = new object[1];
                         list4 = list2;
                         num3 = 0x21;
                         objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                         arguments = objArray2;
                         copyBack = new bool[] { true };
                         if (copyBack[0])
                         {
                             list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                         }
                         lite2.set_HomeOverOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                         objArray2 = new object[1];
                         list4 = list2;
                         num3 = 0x22;
                         objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                         arguments = objArray2;
                         copyBack = new bool[] { true };
                         if (copyBack[0])
                         {
                             list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                         }
                         lite2.set_AwayUnderOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                         objArray2 = new object[1];
                         list4 = list2;
                         num3 = 0x23;
                         objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                         arguments = objArray2;
                         copyBack = new bool[] { true };
                         if (copyBack[0])
                         {
                             list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                         }
                         lite2.set_DrawOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                     }
                     else
                     {
                         objArray2 = new object[1];
                         list4 = list2;
                         num3 = 15;
                         objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                         arguments = objArray2;
                         copyBack = new bool[] { true };
                         if (copyBack[0])
                         {
                             list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                         }
                         lite2.set_HomeOverOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                         objArray2 = new object[1];
                         list4 = list2;
                         num3 = 0x10;
                         objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                         arguments = objArray2;
                         copyBack = new bool[] { true };
                         if (copyBack[0])
                         {
                             list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                         }
                         lite2.set_AwayUnderOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                         objArray2 = new object[1];
                         list4 = list2;
                         num3 = 0x11;
                         objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                         arguments = objArray2;
                         copyBack = new bool[] { true };
                         if (copyBack[0])
                         {
                             list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                         }
                         lite2.set_DrawOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                     }
                     lite2.set_HomeOverBetURL(base._strRootURL + "/app/member/FT_order/FT_order_m.php?gid=" + lite2.get_MatchID() + "&uid=" + this._strUID + "&type=H&gnum=" + str2 + "&odd_f_type=" + this._strOddFType);
                     lite2.set_AwayUnderBetURL(base._strRootURL + "/app/member/FT_order/FT_order_m.php?gid=" + lite2.get_MatchID() + "&uid=" + this._strUID + "&type=C&gnum=" + str4 + "&odd_f_type=" + this._strOddFType);
                     lite2.set_DrawBetURL(base._strRootURL + "/app/member/FT_order/FT_order_m.php?gid=" + lite2.get_MatchID() + "&uid=" + this._strUID + "&type=N&gnum=" + str4 + "&odd_f_type=" + this._strOddFType);
                     lite2.set_BetCoverage(EnumCollection.eBetCoverage.FT);
                     lite2.set_BetType(EnumCollection.eBetType.lX2);
                     if (lite2.get_HomeOverOdds() != 0.0)
                     {
                         list3.Add(lite2);
                     }
                     if (flag4)
                     {
                         if (lite.get_GameType() != EnumCollection.eGameType.Running)
                         {
                             MatchLite lite6 = lite.CloneObject();
                             lite6.set_MatchID(Conversions.ToString(list2[0x16]));
                             lite6.set_HandicapID(str2);
                             lite6.set_Handicap(Conversions.ToString(list2[0x18]));
                             if (lite6.get_Handicap() != string.Empty)
                             {
                                 lite6.set_Handicap(SportBookFunction.ConvertHDPDashedTypeWithZero(lite6.get_Handicap().Replace(" ", "").Replace("/", "-")));
                             }
                             objArray2 = new object[1];
                             list4 = list2;
                             num3 = 0x19;
                             objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                             arguments = objArray2;
                             copyBack = new bool[] { true };
                             if (copyBack[0])
                             {
                                 list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                             }
                             lite6.set_HomeOverOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                             objArray2 = new object[1];
                             list4 = list2;
                             num3 = 0x1a;
                             objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                             arguments = objArray2;
                             copyBack = new bool[] { true };
                             if (copyBack[0])
                             {
                                 list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                             }
                             lite6.set_AwayUnderOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                             lite6.set_HomeOverBetURL(Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject((((base._strRootURL + "/app/member/FT_order/FT_order_hr.php?gid=" + lite.get_MatchID()) + "&uid=" + this._strUID) + "&type=H" + "&gnum=") + str2 + "&strong=", list2[0x17]), "&odd_f_type="), this._strOddFType)));
                             lite6.set_AwayUnderBetURL(Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject((((base._strRootURL + "/app/member/FT_order/FT_order_hr.php?gid=" + lite.get_MatchID()) + "&uid=" + this._strUID) + "&type=C" + "&gnum=") + str4 + "&strong=", list2[0x17]), "&odd_f_type="), this._strOddFType)));
                             lite6.set_BetCoverage(EnumCollection.eBetCoverage.FirstHalf);
                             lite6.set_BetType(EnumCollection.eBetType.HDP);
                             if (lite6.get_HomeOverOdds() != 0.0)
                             {
                                 lite6.UpdateCommission();
                                 list3.Add(lite6);
                             }
                             MatchLite lite7 = lite.CloneObject();
                             lite7.set_MatchID(Conversions.ToString(list2[0x16]));
                             lite7.set_HandicapID(str4);
                             lite7.set_Handicap(Conversions.ToString(list2[0x1b]));
                             if (lite7.get_Handicap() != string.Empty)
                             {
                                 lite7.set_Handicap(SportBookFunction.ConvertHDPDashedTypeWithZero(lite7.get_Handicap().Replace(" ", "").Replace("/", "-")));
                             }
                             lite7.set_AwayColor(Color.Blue);
                             lite7.set_HomeColor(Color.Blue);
                             objArray2 = new object[1];
                             list4 = list2;
                             num3 = 0x1d;
                             objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                             arguments = objArray2;
                             copyBack = new bool[] { true };
                             if (copyBack[0])
                             {
                                 list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                             }
                             lite7.set_AwayUnderOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                             objArray2 = new object[1];
                             list4 = list2;
                             num3 = 30;
                             objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                             arguments = objArray2;
                             copyBack = new bool[] { true };
                             if (copyBack[0])
                             {
                                 list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                             }
                             lite7.set_HomeOverOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                             lite7.set_AwayUnderBetURL(base._strRootURL + "/app/member/FT_order/FT_order_hou.php?gid=" + lite6.get_MatchID() + "&uid=" + this._strUID + "&type=H&gnum=" + str2 + "&odd_f_type=" + this._strOddFType);
                             lite7.set_HomeOverBetURL(base._strRootURL + "/app/member/FT_order/FT_order_hou.php?gid=" + lite6.get_MatchID() + "&uid=" + this._strUID + "&type=C&gnum=" + str4 + "&odd_f_type=" + this._strOddFType);
                             lite7.set_BetCoverage(EnumCollection.eBetCoverage.FirstHalf);
                             lite7.set_BetType(EnumCollection.eBetType.OU);
                             if (lite7.get_HomeOverOdds() != 0.0)
                             {
                                 lite7.UpdateCommission();
                                 list3.Add(lite7);
                             }
                             MatchLite lite5 = lite.CloneObject();
                             lite5.set_MatchID(Conversions.ToString(list2[0x16]));
                             lite5.set_HandicapID(str4);
                             lite5.set_Handicap("0.0");
                             lite5.set_AwayColor(Color.Blue);
                             lite5.set_HomeColor(Color.Blue);
                             objArray2 = new object[1];
                             list4 = list2;
                             num3 = 0x1f;
                             objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                             arguments = objArray2;
                             copyBack = new bool[] { true };
                             if (copyBack[0])
                             {
                                 list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                             }
                             lite5.set_HomeOverOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                             objArray2 = new object[1];
                             list4 = list2;
                             num3 = 0x20;
                             objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                             arguments = objArray2;
                             copyBack = new bool[] { true };
                             if (copyBack[0])
                             {
                                 list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                             }
                             lite5.set_AwayUnderOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                             objArray2 = new object[1];
                             list4 = list2;
                             num3 = 0x21;
                             objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                             arguments = objArray2;
                             copyBack = new bool[] { true };
                             if (copyBack[0])
                             {
                                 list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                             }
                             lite5.set_DrawOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                             lite5.set_HomeOverBetURL(base._strRootURL + "/app/member/FT_order/FT_order_hm.php?gid=" + lite5.get_MatchID() + "&uid=" + this._strUID + "&type=H&gnum=" + str2 + "&odd_f_type=" + this._strOddFType);
                             lite5.set_AwayUnderBetURL(base._strRootURL + "/app/member/FT_order/FT_order_hm.php?gid=" + lite5.get_MatchID() + "&uid=" + this._strUID + "&type=C&gnum=" + str4 + "&odd_f_type=" + this._strOddFType);
                             lite5.set_DrawBetURL(base._strRootURL + "/app/member/FT_order/FT_order_hm.php?gid=" + lite5.get_MatchID() + "&uid=" + this._strUID + "&type=N&gnum=" + str4 + "&odd_f_type=" + this._strOddFType);
                             lite5.set_BetCoverage(EnumCollection.eBetCoverage.FirstHalf);
                             lite5.set_BetType(EnumCollection.eBetType.lX2);
                             if (lite5.get_HomeOverOdds() != 0.0)
                             {
                                 list3.Add(lite5);
                             }
                         }
                         else
                         {
                             MatchLite lite9 = lite.CloneObject();
                             lite9.set_MatchID(Conversions.ToString(list2[20]));
                             lite9.set_HandicapID(str2);
                             lite9.set_Handicap(Conversions.ToString(list2[0x16]));
                             if (lite9.get_Handicap() != string.Empty)
                             {
                                 lite9.set_Handicap(SportBookFunction.ConvertHDPDashedTypeWithZero(lite9.get_Handicap().Replace(" ", "").Replace("/", "-")));
                             }
                             objArray2 = new object[1];
                             list4 = list2;
                             num3 = 0x17;
                             objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                             arguments = objArray2;
                             copyBack = new bool[] { true };
                             if (copyBack[0])
                             {
                                 list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                             }
                             lite9.set_HomeOverOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                             objArray2 = new object[1];
                             list4 = list2;
                             num3 = 0x18;
                             objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                             arguments = objArray2;
                             copyBack = new bool[] { true };
                             if (copyBack[0])
                             {
                                 list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                             }
                             lite9.set_AwayUnderOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                             lite9.set_HomeOverBetURL(Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject((((base._strRootURL + "/app/member/FT_order/FT_order_hr.php?gid=" + lite.get_MatchID()) + "&uid=" + this._strUID) + "&type=H" + "&gnum=") + str2 + "&strong=", list2[0x17]), "&odd_f_type="), this._strOddFType)));
                             lite9.set_AwayUnderBetURL(Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject((((base._strRootURL + "/app/member/FT_order/FT_order_hr.php?gid=" + lite.get_MatchID()) + "&uid=" + this._strUID) + "&type=C" + "&gnum=") + str4 + "&strong=", list2[0x17]), "&odd_f_type="), this._strOddFType)));
                             lite9.set_BetCoverage(EnumCollection.eBetCoverage.FirstHalf);
                             lite9.set_BetType(EnumCollection.eBetType.HDP);
                             if (lite9.get_HomeOverOdds() != 0.0)
                             {
                                 lite9.UpdateCommission();
                                 list3.Add(lite9);
                             }
                             MatchLite lite10 = lite.CloneObject();
                             lite10.set_MatchID(Conversions.ToString(list2[20]));
                             lite10.set_HandicapID(str4);
                             lite10.set_Handicap(Conversions.ToString(list2[0x19]));
                             if (lite10.get_Handicap() != string.Empty)
                             {
                                 lite10.set_Handicap(SportBookFunction.ConvertHDPDashedTypeWithZero(lite10.get_Handicap().Replace(" ", "").Replace("/", "-")));
                             }
                             lite10.set_AwayColor(Color.Blue);
                             lite10.set_HomeColor(Color.Blue);
                             objArray2 = new object[1];
                             list4 = list2;
                             num3 = 0x1b;
                             objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                             arguments = objArray2;
                             copyBack = new bool[] { true };
                             if (copyBack[0])
                             {
                                 list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                             }
                             lite10.set_AwayUnderOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                             objArray2 = new object[1];
                             list4 = list2;
                             num3 = 0x1c;
                             objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                             arguments = objArray2;
                             copyBack = new bool[] { true };
                             if (copyBack[0])
                             {
                                 list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                             }
                             lite10.set_HomeOverOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                             lite10.set_AwayUnderBetURL(base._strRootURL + "/app/member/FT_order/FT_order_hou.php?gid=" + lite9.get_MatchID() + "&uid=" + this._strUID + "&type=H&gnum=" + str2 + "&odd_f_type=" + this._strOddFType);
                             lite10.set_HomeOverBetURL(base._strRootURL + "/app/member/FT_order/FT_order_hou.php?gid=" + lite9.get_MatchID() + "&uid=" + this._strUID + "&type=C&gnum=" + str4 + "&odd_f_type=" + this._strOddFType);
                             lite10.set_BetCoverage(EnumCollection.eBetCoverage.FirstHalf);
                             lite10.set_BetType(EnumCollection.eBetType.OU);
                             if (lite10.get_HomeOverOdds() != 0.0)
                             {
                                 lite10.UpdateCommission();
                                 list3.Add(lite10);
                             }
                             MatchLite lite8 = lite.CloneObject();
                             lite8.set_MatchID(Conversions.ToString(list2[20]));
                             lite8.set_HandicapID(str4);
                             lite8.set_Handicap("0.0");
                             lite8.set_AwayColor(Color.Blue);
                             lite8.set_HomeColor(Color.Blue);
                             objArray2 = new object[1];
                             list4 = list2;
                             num3 = 0x24;
                             objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                             arguments = objArray2;
                             copyBack = new bool[] { true };
                             if (copyBack[0])
                             {
                                 list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                             }
                             lite8.set_HomeOverOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                             objArray2 = new object[1];
                             list4 = list2;
                             num3 = 0x25;
                             objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                             arguments = objArray2;
                             copyBack = new bool[] { true };
                             if (copyBack[0])
                             {
                                 list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                             }
                             lite8.set_AwayUnderOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                             objArray2 = new object[1];
                             list4 = list2;
                             num3 = 0x26;
                             objArray2[0] = RuntimeHelpers.GetObjectValue(list4[num3]);
                             arguments = objArray2;
                             copyBack = new bool[] { true };
                             if (copyBack[0])
                             {
                                 list4[num3] = RuntimeHelpers.GetObjectValue(arguments[0]);
                             }
                             lite8.set_DrawOddsString(Conversions.ToString(NewLateBinding.LateGet(null, typeof(SportBookFunction), "ConvertHKToMalayOdds", arguments, null, null, copyBack)));
                             lite8.set_HomeOverBetURL(base._strRootURL + "/app/member/FT_order/FT_order_hm.php?gid=" + lite8.get_MatchID() + "&uid=" + this._strUID + "&type=H&gnum=" + str2 + "&odd_f_type=" + this._strOddFType);
                             lite8.set_AwayUnderBetURL(base._strRootURL + "/app/member/FT_order/FT_order_hm.php?gid=" + lite8.get_MatchID() + "&uid=" + this._strUID + "&type=C&gnum=" + str4 + "&odd_f_type=" + this._strOddFType);
                             lite8.set_DrawBetURL(base._strRootURL + "/app/member/FT_order/FT_order_hm.php?gid=" + lite8.get_MatchID() + "&uid=" + this._strUID + "&type=N&gnum=" + str4 + "&odd_f_type=" + this._strOddFType);
                             lite8.set_BetCoverage(EnumCollection.eBetCoverage.FirstHalf);
                             lite8.set_BetType(EnumCollection.eBetType.lX2);
                             if (lite8.get_HomeOverOdds() != 0.0)
                             {
                                 list3.Add(lite8);
                             }
                         }
                     }
                 }
             }
         }
     }
     return list3;
 }