PGRData/Script/matrix/xhome/xdorm/xhomechar/xhomecharnode/XHomeCharCancelInteractBtnShow.lua

6 lines
382 B
Lua
Raw Normal View History

local XHomeCharCancelInteractBtnShow = XLuaBehaviorManager.RegisterNode(XLuaBehaviorNode, "HomeCharCancelInteractBtnShow", CsBehaviorNodeType.Action, true, false)
function XHomeCharCancelInteractBtnShow:OnEnter()
XEventManager.DispatchEvent(XEventId.EVENT_GUILD_DORM_CANCEL_INTERACT_BTN_SHOW, true, self.AgentProxy:GetPlayerId())
self.Node.Status = CsNodeStatus.SUCCESS
end