mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
18 lines
564 B
C++
18 lines
564 B
C++
#include "component/ComponentData.hpp"
|
|
#include "component/Types.hpp"
|
|
|
|
void ComponentData::SetPreferences(CharacterPreferences* preferences) {
|
|
if (!preferences) {
|
|
return;
|
|
}
|
|
|
|
this->raceID = preferences->raceID;
|
|
this->sexID = preferences->sexID;
|
|
this->classID = preferences->classID;
|
|
this->hairColorID = preferences->hairColorID;
|
|
this->skinColorID = preferences->skinColorID;
|
|
this->faceID = preferences->faceID;
|
|
this->facialHairStyleID = preferences->facialHairStyleID;
|
|
this->hairStyleID = preferences->hairStyleID;
|
|
}
|