This commit is contained in:
2025-04-17 04:52:48 +08:00
commit 9985b73dc1
3708 changed files with 2387532 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# Copyright Epic Games, Inc. All Rights Reserved.
import abc
class BaseAction(object):
__display_name__ = "BaseAction"
__tooltip__ = ""
__category__ = ""
@classmethod
@abc.abstractmethod
def validate(cls, ui_context):
raise NotImplementedError
@abc.abstractmethod
def execute(self, ui_context=None, **kwargs):
raise NotImplementedError
def __init__(self, api=None):
self._api = api
@property
def api(self):
return self._api