예제 #1
0
	void CPage::deserialize(CArchive &archive) {
		this->CNamedObject::deserialize(archive);
		directory = archive.readCString();
		actors = (Common::Array<CActor *> *)archive.readCObArray(CActor::RuntimeClass());
		for (uint32 i = 0; i < actors->size(); i++) {
			CActor *actor = actors->at(i);
			_actors_map[*(actor->name)] = actor;
		}
	}
예제 #2
0
	void CHandler::deserialize(CArchive &archive) {
		conditions = archive.readCObArray();
		side_effects = archive.readCObArray();
	}
예제 #3
0
	void CGame::deserialize(CArchive &archive) {
		path = archive.readCString();
		ini = archive.readCString();
		modules = (Array<CModuleProxy *> *)archive.readCObArray();
	}