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 // Headers 13 #include "lcf/rpg/battleranimation.h" 14 15 namespace lcf { 16 namespace rpg { 17 operator <<(std::ostream & os,const BattlerAnimation & obj)18std::ostream& operator<<(std::ostream& os, const BattlerAnimation& obj) { 19 os << "BattlerAnimation{"; 20 os << "name="<< obj.name; 21 os << ", speed="<< obj.speed; 22 os << ", poses="; 23 for (size_t i = 0; i < obj.poses.size(); ++i) { 24 os << (i == 0 ? "[" : ", ") << obj.poses[i]; 25 } 26 os << "]"; 27 os << ", weapons="; 28 for (size_t i = 0; i < obj.weapons.size(); ++i) { 29 os << (i == 0 ? "[" : ", ") << obj.weapons[i]; 30 } 31 os << "]"; 32 os << "}"; 33 return os; 34 } 35 36 } // namespace rpg 37 } // namespace lcf 38