mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-20 20:47:11 +02:00
Update player entity to use the new debugging implementation. And create alternative version of several member functions.
This commit is contained in:
1 parent
a6ded15aaa
commit
cdd5cb2050
2 files changed
+250
-196
No files matched your search
+235
-196
File diff suppressed because it is too large.
Load diff
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user