1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Update player entity to use the new debugging implementation. And create alternative version of several member functions.

This commit is contained in:
Sandu Liviu Catalin 2015-11-11 09:02:42 +02:00
parent a6ded15aaa
commit cdd5cb2050
2 changed files with 250 additions and 196 deletions

File diff suppressed because it is too large Load Diff

View File

@ -570,6 +570,11 @@ public:
*/
void SetCameraPosition(const Vector3 & pos, const Vector3 & aim) const;
/* --------------------------------------------------------------------------------------------
* Change the camera position of the referenced player instance.
*/
void SetCameraPosition(SQFloat xp, SQFloat yp, SQFloat zp, SQFloat xa, SQFloat ya, SQFloat za) const;
/* --------------------------------------------------------------------------------------------
* Restore the camera position of the referenced player instance.
*/
@ -610,6 +615,16 @@ public:
*/
bool IsAway() const;
/* --------------------------------------------------------------------------------------------
* Retrieve the player that the referenced player instance is spectating.
*/
Reference < CPlayer > GetSpectator() const;
/* --------------------------------------------------------------------------------------------
* Set the referenced player instance to spectate the specified player instance.
*/
void SetSpectator(const Reference < CPlayer > & target) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the player that the referenced player instance is spectating.
*/