void Load(const char * data) { std::istringstream loadStream(LoadBossState(data)); uint32 buff; loadStream >> buff; gothikDoorState = GOState(buff); }
void Load(const char * data) { std::istringstream loadStream(LoadBossState(data)); uint32 temp, buff, buff2; for (uint32 i = 0; i < MAX_BOSS_NUMBER; ++i) loadStream >> temp; loadStream >> buff; gothikDoorState = GOState(buff); loadStream >> buff2; playerDied = buff2; }
void Load(const char * data) { loading = true; std::istringstream loadStream(LoadBossState(data)); uint32 deaths, tryes; loadStream >> deaths; loadStream >> tryes; deathsCount = deaths; attempts = tryes; loading = false; }