mirror of
https://github.com/Maks1mS/pppi-rpg-game.git
synced 2024-12-24 14:44:39 +03:00
88 lines
6.3 KiB
HTML
88 lines
6.3 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.9.1"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>PPPI RPG Game: Исходный файл localization_manager.h</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">PPPI RPG Game
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Создано системой Doxygen 1.9.1 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Поиск','.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Поиск');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">localization_manager.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>  </div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"><a class="line" href="class_localization_manager.html"> 4</a></span> <span class="keyword">class </span><a class="code" href="class_localization_manager.html">LocalizationManager</a> {</div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="class_localization_manager.html#abff19c89d4c43d29fb5c48d7d1c549ff"> 10</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_localization_manager.html#abff19c89d4c43d29fb5c48d7d1c549ff">loadLanguagePack</a>(<span class="keyword">const</span> std::string& languageCode);</div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  </div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="class_localization_manager.html#a6dd0b9948e2ae4947fb08d9165e3dc59"> 17</a></span>  std::string <a class="code" href="class_localization_manager.html#a6dd0b9948e2ae4947fb08d9165e3dc59">getString</a>(<span class="keyword">const</span> std::string& key);</div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class_localization_manager.html#a72afe1b0d03d1385a83c63aa39ff03e8"> 23</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_localization_manager.html#a72afe1b0d03d1385a83c63aa39ff03e8">setCurrentLanguage</a>(<span class="keyword">const</span> std::string& languageCode);</div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> };</div>
|
|
<div class="ttc" id="aclass_localization_manager_html"><div class="ttname"><a href="class_localization_manager.html">LocalizationManager</a></div><div class="ttdoc">Класс LocalizationManager переводит текст и аудио игры на разные языки.</div><div class="ttdef"><b>Definition:</b> localization_manager.h:4</div></div>
|
|
<div class="ttc" id="aclass_localization_manager_html_a6dd0b9948e2ae4947fb08d9165e3dc59"><div class="ttname"><a href="class_localization_manager.html#a6dd0b9948e2ae4947fb08d9165e3dc59">LocalizationManager::getString</a></div><div class="ttdeci">std::string getString(const std::string &key)</div><div class="ttdoc">Получает переведенную строку по ключу.</div></div>
|
|
<div class="ttc" id="aclass_localization_manager_html_a72afe1b0d03d1385a83c63aa39ff03e8"><div class="ttname"><a href="class_localization_manager.html#a72afe1b0d03d1385a83c63aa39ff03e8">LocalizationManager::setCurrentLanguage</a></div><div class="ttdeci">void setCurrentLanguage(const std::string &languageCode)</div><div class="ttdoc">Устанавливает текущий язык интерфейса.</div></div>
|
|
<div class="ttc" id="aclass_localization_manager_html_abff19c89d4c43d29fb5c48d7d1c549ff"><div class="ttname"><a href="class_localization_manager.html#abff19c89d4c43d29fb5c48d7d1c549ff">LocalizationManager::loadLanguagePack</a></div><div class="ttdeci">void loadLanguagePack(const std::string &languageCode)</div><div class="ttdoc">Загружает языковой пакет.</div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Создано системой <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
|
|
</small></address>
|
|
</body>
|
|
</html>
|