1 /* !!!! GENERATED FILE - DO NOT EDIT !!!!
2  * --------------------------------------
3  *
4  * This file is part of liblcf. Copyright (c) 2021 liblcf authors.
5  * https://github.com/EasyRPG/liblcf - https://easyrpg.org
6  *
7  * liblcf is Free/Libre Open Source Software, released under the MIT License.
8  * For the full copyright and license information, please view the COPYING
9  * file that was distributed with this source code.
10  */
11 
12 #ifndef LCF_RPG_SAVEPANORAMA_H
13 #define LCF_RPG_SAVEPANORAMA_H
14 
15 // Headers
16 #include <stdint.h>
17 #include "lcf/context.h"
18 #include <ostream>
19 #include <type_traits>
20 
21 /**
22  * rpg::SavePanorama class.
23  */
24 namespace lcf {
25 namespace rpg {
26 	class SavePanorama {
27 	public:
28 		int32_t pan_x = 0;
29 		int32_t pan_y = 0;
30 	};
31 
32 	inline bool operator==(const SavePanorama& l, const SavePanorama& r) {
33 		return l.pan_x == r.pan_x
34 		&& l.pan_y == r.pan_y;
35 	}
36 
37 	inline bool operator!=(const SavePanorama& l, const SavePanorama& r) {
38 		return !(l == r);
39 	}
40 
41 	std::ostream& operator<<(std::ostream& os, const SavePanorama& obj);
42 
43 	template <typename F, typename ParentCtx = Context<void,void>>
44 	void ForEachString(SavePanorama& obj, const F& f, const ParentCtx* parent_ctx = nullptr) {
45 		(void)obj;
46 		(void)f;
47 		(void)parent_ctx;
48 	}
49 
50 } // namespace rpg
51 } // namespace lcf
52 
53 #endif
54