forked from endernon/PGRData
17 lines
559 B
Lua
17 lines
559 B
Lua
|
local XRedPointConditionDiceGameRed = {}
|
||
|
local Events = nil
|
||
|
function XRedPointConditionDiceGameRed.GetSubEvents()
|
||
|
Events = Events or
|
||
|
{
|
||
|
XRedPointEventElement.New(XEventId.EVENT_MAINUI_ENABLE),
|
||
|
XRedPointEventElement.New(XEventId.EVENT_DICEGAME_CONFIRM),
|
||
|
XRedPointEventElement.New(XEventId.EVENT_DICEGAME_GET_REWARD),
|
||
|
}
|
||
|
return Events
|
||
|
end
|
||
|
function XRedPointConditionDiceGameRed.Check()
|
||
|
return XDataCenter.DiceGameManager.CheckRedPoint()
|
||
|
end
|
||
|
|
||
|
|
||
|
return XRedPointConditionDiceGameRed
|