18 lines
421 B
Lua
18 lines
421 B
Lua
|
local XRedPointConditionPlayerBirthDay = {}
|
||
|
local SubCondition = nil
|
||
|
local SubEvents = nil
|
||
|
|
||
|
function XRedPointConditionPlayerBirthDay.GetSubEvents()
|
||
|
SubEvents = SubEvents or {
|
||
|
XRedPointEventElement.New(XEventId.EVENT_PLAYER_SET_BIRTHDAY)
|
||
|
}
|
||
|
return SubEvents
|
||
|
end
|
||
|
|
||
|
function XRedPointConditionPlayerBirthDay.Check()
|
||
|
return not XPlayer.IsChangedBirthday()
|
||
|
end
|
||
|
|
||
|
return XRedPointConditionPlayerBirthDay
|
||
|
|