#31 Added **self.use_pre_load:bool = False** and pre_load() method.

This commit is contained in:
Lerking
2025-03-27 19:30:41 +00:00
parent b6efe1b1df
commit 63f649af25

View File

@@ -13,6 +13,8 @@ class ExamplePlugin(XtendRBase):
>>> plugin.stop()
ExamplePlugin has stopped!
"""
self.use_pre_load:bool = False #Indicate that pre-loading isn't neccessary
def run(self, *args, **kwargs):
arglen = len(args)
keylen = len(kwargs)
@@ -31,3 +33,6 @@ class ExamplePlugin(XtendRBase):
def stop(self):
print("ExamplePlugin has stopped!")
def pre_load(self):
pass