taobin_project/xml/event/pepween/page_pepween_result.xml

85 lines
2.1 KiB
XML
Raw Normal View History

2023-09-28 11:45:32 +07:00
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Volume> SoundVolume </Volume>
;<Background> "0xeae6e1" </Background>
<EventOpen>
2023-09-28 16:04:34 +07:00
Var Timeout = 0
Var ServerRespond = 0
2023-09-28 11:45:32 +07:00
Var RewardDisplayDir = "ROOT/taobin_project/image/event/pepween/"
If show_eng = "true" Then
Var RewardDisplay = UserCouponReward + "_en.png"
Else
Var RewardDisplay = UserCouponReward + "_th.png"
EndIf
DEBUGVAR UserCouponReward
DEBUGVAR RewardDisplay
Var RewardDisplay = RewardDisplayDir + RewardDisplay
DEBUGVAR RewardDisplay
Var isCoffinPress = "Disable"
</EventOpen>
2023-09-28 16:04:34 +07:00
<Timeout> 1000 </Timeout>
<EventTimeout>
DEBUGVAR Timeout
If PayOfflineMode = 1 Then
Var ServerRespond = 0
Var CouponResponeFailed = 1
EndIf
If Timeout > 60 Then
; Check and return Error
Var CouponResponeFailed = 1
Open "ROOT/taobin_project/xml/event/pepween/page_pepween_error.xml"
EndIf
Var Timeout = Timeout + 1
TimerReset
</EventTimeout>
<EventActionOk>
If CouponResponeFailed = 0 Then
; TODO:
;Open "ROOT/taobin_project/xml/event/pepween/page_pepween_error.xml"
EndIf
</EventActionOk>
<EventActionError>
; TODO: open coupon send error page
If CouponResponeFailed = 1 Then
Open "ROOT/taobin_project/xml/event/pepween/page_pepween_error.xml"
EndIf
</EventActionError>
2023-09-28 11:45:32 +07:00
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> video_menu_0 </Filename>
</Video>
;
2023-09-28 16:04:34 +07:00
<Image>
2023-09-28 11:45:32 +07:00
<X> 0 </X>
<Y> 380 </Y>
<Width> 1080 </Width>
<Height> 1540 </Height>
<Filename> RewardDisplay </Filename>
2023-09-28 16:04:34 +07:00
</Image>
2023-09-28 11:45:32 +07:00
2023-09-28 16:04:34 +07:00
<EventUnitTest1>
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
</EventUnitTest1>
2023-09-28 11:45:32 +07:00
</Popup>