forked from rosebudai/OpenRCT2-Web
30 lines
862 B
C++
30 lines
862 B
C++
/*****************************************************************************
|
|||
|
|
* Copyright (c) 2014-2025 OpenRCT2 developers
|
||
|
|
*
|
||
|
|
* For a complete list of all authors, please refer to contributors.md
|
||
|
|
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
|
||
|
|
*
|
||
|
|
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||
|
|
*****************************************************************************/
|
||
|
|
|
||
|
|
#include "ClimateObject.h"
|
||
|
|
|
||
|
|
#include "../core/Guard.hpp"
|
||
|
|
#include "../core/IStream.hpp"
|
||
|
|
#include "../core/Json.hpp"
|
||
|
|
|
||
|
|
using namespace OpenRCT2;
|
||
|
|
|
||
|
|
void ClimateObject::Load()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
void ClimateObject::Unload()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
void ClimateObject::ReadJson(IReadObjectContext* context, json_t& root)
|
||
|
|
{
|
||
|
|
Guard::Assert(root.is_object(), "ClimateObject::ReadJson expects parameter root to be an object");
|
||
|
|
PopulateTablesFromJson(context, root);
|
||
|
|
}
|