mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +01:00
Update player entity to use the new debugging implementation. And create alternative version of several member functions.
This commit is contained in:
parent
a6ded15aaa
commit
cdd5cb2050
File diff suppressed because it is too large
Load Diff
@ -570,6 +570,11 @@ public:
|
|||||||
*/
|
*/
|
||||||
void SetCameraPosition(const Vector3 & pos, const Vector3 & aim) const;
|
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.
|
* Restore the camera position of the referenced player instance.
|
||||||
*/
|
*/
|
||||||
@ -610,6 +615,16 @@ public:
|
|||||||
*/
|
*/
|
||||||
bool IsAway() const;
|
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.
|
* Retrieve the player that the referenced player instance is spectating.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user