1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-11-06 09:17:17 +01:00

Reduce the task parameters to 8.

Remove the Self property from the tasks because it's useless.
This commit is contained in:
Sandu Liviu Catalin
2016-11-17 12:59:29 +02:00
parent a04fd3ba15
commit 2449a44c1f
2 changed files with 2 additions and 11 deletions

View File

@@ -40,7 +40,7 @@ private:
Int16 mEntity; // The identifier of the entity to which is belongs.
Uint8 mType; // The type of the entity to which is belongs.
Uint8 mArgc; // The number of arguments that the task must forward.
Argument mArgv[14]; // The arguments that the task must forward.
Argument mArgv[8]; // The arguments that the task must forward.
/* ----------------------------------------------------------------------------------------
* Default constructor.
@@ -136,14 +136,6 @@ private:
*/
Interval Execute();
/* ----------------------------------------------------------------------------------------
* Retrieve the instance to self.
*/
const LightObj & GetSelf() const
{
return mSelf;
}
/* ----------------------------------------------------------------------------------------
* Retrieve the instance to entity instance.
*/