[saco] Implement/match CRemotePlayer::GetPlayerColorAsARGB()

This commit is contained in:
RD42 2024-10-20 17:22:03 +08:00
parent a2e4ab84b6
commit fd79de6997
2 changed files with 7 additions and 0 deletions

View File

@ -77,3 +77,9 @@ DWORD CRemotePlayer::GetPlayerColorAsRGBA()
//----------------------------------------------------
DWORD CRemotePlayer::GetPlayerColorAsARGB()
{
return (TranslateColorCodeToRGBA(m_PlayerID) >> 8) | 0xFF000000;
}
//----------------------------------------------------

View File

@ -59,6 +59,7 @@ public:
void SetPlayerColor(DWORD dwColor);
DWORD GetPlayerColorAsRGBA();
DWORD GetPlayerColorAsARGB();
};
//----------------------------------------------------