mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-22 01:55:25 -04:00
a8559bfbbc
* Update all CMakeLists of extensions to use clang-format * Run clang-format on all Extensions * Update GDCore CMakeLists.txt to add clang-format * Run clang-format on GDCore files * Update GDJS and GDCpp CMakeLists.txt to add clang-format * Run clang-format on GDCpp and GDJS files
20 lines
564 B
C++
20 lines
564 B
C++
/*
|
|
* GDevelop Core
|
|
* Copyright 2008-2018 Florian Rival (Florian.Rival@gmail.com). All rights
|
|
* reserved. This project is released under the MIT License.
|
|
*/
|
|
|
|
#include "LoadingScreen.h"
|
|
#include "GDCore/Serialization/SerializerElement.h"
|
|
|
|
namespace gd {
|
|
|
|
void LoadingScreen::SerializeTo(SerializerElement& element) const {
|
|
element.SetAttribute("showGDevelopSplash", showGDevelopSplash);
|
|
}
|
|
|
|
void LoadingScreen::UnserializeFrom(const SerializerElement& element) {
|
|
showGDevelopSplash = element.GetBoolAttribute("showGDevelopSplash", true);
|
|
}
|
|
} // namespace gd
|