-
Notifications
You must be signed in to change notification settings - Fork 10
/
Physical.ixx
49 lines (36 loc) · 1.08 KB
/
Physical.ixx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* SDK module for Trilogy Online modification.
* The author of this file is the lead developer of Trilogy Online.
* Detailed information can be found on the website.
* https://trilogy-online.com/
*/
module;
export module TrilogyOnline.SDK.Physical;
import TrilogyOnline.SDK.Fundamental;
import TrilogyOnline.SDK.Vector;
import TrilogyOnline.SDK.Entity;
export namespace TrilogyOnline
{
namespace API
{
class CPhysical : public CEntity
{
public:
virtual void SetVelocity(const CVector3DFloat& value) = 0;
[[nodiscard]]
virtual CVector3DFloat GetVelocity() const = 0;
virtual void SetRotationalVelocity(const CVector3DFloat& value) = 0;
[[nodiscard]]
virtual CVector3DFloat GetRotationalVelocity() const = 0;
virtual void SetMass(const float value) = 0;
[[nodiscard]]
virtual float GetMass() const = 0;
virtual void SetRotationalMass(const float value) = 0;
[[nodiscard]]
virtual float GetRotationalMass() const = 0;
virtual void ToggleControllability(const bool value) = 0;
[[nodiscard]]
virtual bool IsControllable() const = 0;
};
}
}