void OnPageClick() { if (PVPData.PvPRankCurPage > 1 || PVPData.PvPRankCurPage < PVPData.PvPRankTotalPage) { string str = Utils.GetDicByID(2960); NumChooseController.NumChooseInfo curInfo = new NumChooseController.NumChooseInfo(1, PVPData.PvPRankTotalPage, str, OnNumChoose, 1); UIManager.ShowUI(UIInfo.NumChoose, OnShowNumChoose, curInfo); } }
void OnPageClick() { if (WuLinData.CurWuLinPage > 1 || WuLinData.CurWuLinPage < WuLinData.MaxWuLinPage) { string str = Utils.GetDicByID(2960); NumChooseController.NumChooseInfo curInfo = new NumChooseController.NumChooseInfo(1, WuLinData.MaxWuLinPage, str, OnNumChoose, 1); UIManager.ShowUI(UIInfo.NumChoose, OnShowNumChoose, curInfo); } }
public static void OnShowNumChoose(bool bSuccess, object param) { if (!bSuccess) { return; } if (null == param) { LogModule.ErrorLog("ShowNumChoose:param not define."); return; } NumChooseController.NumChooseInfo curInfo = param as NumChooseController.NumChooseInfo; if (curInfo != null) { NumChooseController.Instance().SetData(curInfo._minValue, curInfo._maxValue, curInfo._szTitle, curInfo._okClickFun, curInfo._stepValue); } }