feat(object): add CGUnit::GetNativeDisplayID

This commit is contained in:
fallenoak 2026-02-11 22:33:39 -06:00
parent 0f7f0207ee
commit d253417233
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
2 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,10 @@ int32_t CGUnit::GetDisplayID() const {
return this->Unit()->displayID;
}
int32_t CGUnit::GetNativeDisplayID() const {
return this->Unit()->nativeDisplayID;
}
CGUnitData* CGUnit::Unit() const {
return this->m_unit;
}

View File

@ -84,6 +84,7 @@ class CGUnit {
// Public member functions
int32_t GetDisplayID() const;
int32_t GetNativeDisplayID() const;
protected:
// Protected member variables