forked from endernon/PGRData
9 lines
No EOL
347 B
Lua
9 lines
No EOL
347 B
Lua
local XGuideIsJoinGuildNode = XLuaBehaviorManager.RegisterNode(XLuaBehaviorNode, "IsJoinGuild", CsBehaviorNodeType.Condition, true, false)
|
|
|
|
function XGuideIsJoinGuildNode:OnEnter()
|
|
if XDataCenter.GuildManager.IsJoinGuild() then
|
|
self.Node.Status = CsNodeStatus.SUCCESS
|
|
else
|
|
self.Node.Status = CsNodeStatus.FAILED
|
|
end
|
|
end |