public static int GetInt(string strName, int defValue) { if (GameRequest.GetQueryInt(strName, defValue) == defValue) { return(GameRequest.GetFormInt(strName, defValue)); } return(GameRequest.GetQueryInt(strName, defValue)); }
public static int GetFormInt(string strName, int defValue) { return(GameRequest.GetFormInt(GameRequest.Request, strName, defValue)); }