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

This commit is contained in:
RD42 2024-10-20 17:21:37 +08:00
parent 9e596ad32a
commit a2e4ab84b6
2 changed files with 8 additions and 0 deletions

View File

@ -70,3 +70,10 @@ void CRemotePlayer::SetPlayerColor(DWORD dwColor)
//---------------------------------------------------- //----------------------------------------------------
DWORD CRemotePlayer::GetPlayerColorAsRGBA()
{
return TranslateColorCodeToRGBA(m_PlayerID);
}
//----------------------------------------------------

View File

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