#include "appcore/cardevent/EventPrepaidTicket.h"
Go to the source code of this file.
| virtual void Deserialize |
( |
char * |
buffer | ) |
|
|
virtual |
| EventPrepaidTicketZone |
( |
| ) |
|
| EventPrepaidTicketZone |
( |
EventPrepaidTicketZone __EVALREF |
source | ) |
|
| virtual int GetClassID |
( |
| ) |
|
|
virtual |
| virtual short GetSize |
( |
| ) |
|
|
virtual |
| unsigned short GetZone |
( |
int |
value | ) |
|
Returns zone on specified position
- Parameters
-
| value | : int - position of zone [0..9] |
- See also
- SetZone
- Returns
- unsigned short - zone number
Returns if it is a network wide coupon
- See also
- SetWholeNetwork
- Returns
- bool
- true = it's network wide coupon
- false = it's not network wide coupon
| virtual void Serialize |
( |
char * |
buffer | ) |
|
|
virtual |
| void SetWholeNetwork |
( |
bool |
isWholeNetwork | ) |
|
Sets if it is a network wide coupon
- See also
- IsWholeNetwork
- Parameters
-
| isWholeNetwork | : bool - network wide coupon flag |
| unsigned short SetZone |
( |
int |
index, |
|
|
unsigned short |
value |
|
) |
| |
Sets zone on specified position in zone array
- Parameters
-
| index | : int - position of zone [0..9] |
| value | : unsigned short - zone number |
- See also
- GetZone
- Returns
- unsigned short
- previous value
- 0 means index out of range
Zone prepaid ticket event.
(Max count of zones is 10)