PGRData/Script/matrix/xrestaurant/xnode/XRestaurantSetGreenPointNode.lua

11 lines
401 B
Lua
Raw Normal View History

2024-09-01 20:49:41 +00:00
---@class XRestaurantSetGreenPointNode : XLuaBehaviorNode
---@field AgentProxy XRestaurantCharAgent
local XRestaurantSetGreenPointNode = XLuaBehaviorManager.RegisterNode(XLuaBehaviorNode,
"RestaurantSetGreenPoint", CsBehaviorNodeType.Action, true, false)
function XRestaurantSetGreenPointNode:OnEnter()
self.AgentProxy:DoSetGreenPoint()
self.Node.Status = CsNodeStatus.SUCCESS
end