mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Added several more functions for debugging infotmation in base entity reference.
This commit is contained in:
parent
9c5205d03b
commit
12b70f2795
@ -2723,6 +2723,14 @@ protected:
|
|||||||
DbgWrn(Ent< T >::CName, loc, "Attempting to <%s> using an invalid argument: %d", act, arg);
|
DbgWrn(Ent< T >::CName, loc, "Attempting to <%s> using an invalid argument: %d", act, arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --------------------------------------------------------------------------------------------
|
||||||
|
* Throw a bad argument error.
|
||||||
|
*/
|
||||||
|
void BadArg(const char * loc, const char * act, SQInt32 a, SQInt32 b) const
|
||||||
|
{
|
||||||
|
DbgWrn(Ent< T >::CName, loc, "Attempting to <%s> using an invalid argument: %d, %d", act, a, b);
|
||||||
|
}
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
* Throw a bad argument error.
|
* Throw a bad argument error.
|
||||||
*/
|
*/
|
||||||
@ -2730,6 +2738,14 @@ protected:
|
|||||||
{
|
{
|
||||||
DbgWrn(Ent< T >::CName, loc, "Attempting to <%s> %s: %d", act, msg, arg);
|
DbgWrn(Ent< T >::CName, loc, "Attempting to <%s> %s: %d", act, msg, arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --------------------------------------------------------------------------------------------
|
||||||
|
* Throw a bad argument error.
|
||||||
|
*/
|
||||||
|
void BadArg(const char * loc, const char * act, const char * msg, SQInt32 a, SQInt32 b) const
|
||||||
|
{
|
||||||
|
DbgWrn(Ent< T >::CName, loc, "Attempting to <%s> %s: %d, %d", act, msg, a, b);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user