void Del_SortPriceBtn(ref POINTER_INFO ptr) { if( ptr.evt == POINTER_INFO.INPUT_EVENT.TAP) { if( m_SearchType == ePRIVATESHOPSEARCHTYPE.ePRIVATESHOPSEARCHTYPE_PRICE_DESCENDING) m_SearchType = ePRIVATESHOPSEARCHTYPE.ePRIVATESHOPSEARCHTYPE_PRICE_ASCENDING; else m_SearchType = ePRIVATESHOPSEARCHTYPE.ePRIVATESHOPSEARCHTYPE_PRICE_DESCENDING; SendSearch(); } }
public body_CS_PRIVATESHOP_SEARCH( Int32 _pageIdx, Int32 _itemTableIdx, eCLASS _class, Int32 _category1, Int32 _category2, Int32 _levelMin, Int32 _levelMax, eEQUIPITEM_GRADE _grade, Int32 _mapIdx, ePRIVATESHOPSEARCHTYPE _searchType) { Category = (byte)PACKET_CATEGORY._CATEGORY_CS2; Protocol = (byte)PROTOCOL_CS_2.CS_PRIVATESHOP_SEARCH; nPageIdx = _pageIdx; nItemTableIdx = _itemTableIdx; eClass = _class; nCategory1 = _category1; nCategory2 = _category2; nLevelMin = _levelMin; nLevelMax = _levelMax; eGrade = _grade; nMapIdx = _mapIdx; eSearchType = _searchType; }