liblcf
rpg_terms.cpp
Go to the documentation of this file.
1
/*
2
* This file is part of liblcf. Copyright (c) liblcf authors.
3
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
4
*
5
* liblcf is Free/Libre Open Source Software, released under the MIT License.
6
* For the full copyright and license information, please view the COPYING
7
* file that was distributed with this source code.
8
*/
9
10
#include "lcf/rpg/terms.h"
11
12
namespace
lcf
{
13
14
std::string rpg::Terms::TermOrDefault(
const
DBString& db_term, StringView default_term) {
15
if
(db_term == kDefaultTerm) {
16
return
ToString(default_term);
17
}
18
return
ToString(db_term);
19
}
20
21
}
// namespace lcf
lcf
Definition:
dbarray.cpp:13
src
rpg_terms.cpp
Generated on Tue May 2 2023 00:00:00 for liblcf by
1.9.1