◆ CalculateNextSpent()
| double EAdvertisementPr::CalculateNextSpent |
( |
unsigned long |
busstopID | ) |
|
◆ CheckDayLimit()
| bool EAdvertisementPr::CheckDayLimit |
( |
float |
nextSpentAmount | ) |
|
nemam denny limit
prekroceny denny limit
◆ ClearCriteria()
| void EAdvertisementPr::ClearCriteria |
( |
| ) |
|
◆ GetDaySpends()
| float EAdvertisementPr::GetDaySpends |
( |
| ) |
|
nemam subor => dnes este nic neminul
nie je dnesny subor => dnes som nic neminul
◆ GetDaySpendsFileName()
| string EAdvertisementPr::GetDaySpendsFileName |
( |
| ) |
|
◆ GetTicketType()
| unsigned char EAdvertisementPr::GetTicketType |
( |
unsigned char |
discountType, |
|
|
unsigned char |
cardType |
|
) |
| |
Vzdy je vyplnene len jedno - bud typ zlavy, alebo typ karty, druhe je 0. (bud sa kupoval listok alebo sa platilo kartou).
typ zlavy sa interne cisluje od 100
◆ ReadCriteria()
| void EAdvertisementPr::ReadCriteria |
( |
EXMLNode * |
node | ) |
|
◆ UpdateDaySpends()
| void EAdvertisementPr::UpdateDaySpends |
( |
| ) |
|
◆ UpdateDisplayCount()
| void EAdvertisementPr::UpdateDisplayCount |
( |
unsigned long |
busstopID | ) |
|
reklamy s prioritou 0 riesim takto, kedze ich casto zamietam, mali by malo zobrazeni a boli vzdy prve v zozname vhodnych
◆ UpdateSpentAmount()
| void EAdvertisementPr::UpdateSpentAmount |
( |
unsigned long |
busstopID | ) |
|
◆ mAdvertisementSize
◆ mBusstopID
| unsigned long EAdvertisementPr::mBusstopID |
◆ mCriteriaCol
◆ mDayLimit
| long EAdvertisementPr::mDayLimit |
◆ mDisplayedCountBusstop
◆ mID
| unsigned long EAdvertisementPr::mID |
◆ mLastSpentAmount
| float EAdvertisementPr::mLastSpentAmount |
◆ mName
| string EAdvertisementPr::mName |
◆ mOwner
◆ mPicture
| string EAdvertisementPr::mPicture |
◆ mPriceQuote
| int EAdvertisementPr::mPriceQuote |
◆ mPriority
| short EAdvertisementPr::mPriority |
◆ mSpentAmount
| double EAdvertisementPr::mSpentAmount |
◆ mStatFileName
| string EAdvertisementPr::mStatFileName |
◆ mUserID
| unsigned long EAdvertisementPr::mUserID |
The documentation for this class was generated from the following file: