PGRData/Script/matrix/xredpoint/xredpointconditions/XRedPointConditionDiceGameRed.lua

17 lines
559 B
Lua
Raw Normal View History

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