Pioneer
Loading...
Searching...
No Matches
LuaNameGen.h
Go to the documentation of this file.
1// Copyright © 2008-2023 Pioneer Developers. See AUTHORS.txt for details
2// Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
3
4#ifndef _LUANAMEGEN_H
5#define _LUANAMEGEN_H
6
7#include "RefCounted.h"
8#include <string>
9
10class LuaManager;
11class Random;
12class SystemBody;
13
15public:
17 m_luaManager(manager) {}
18
19 std::string FullName(bool isFemale, RefCountedPtr<Random> &rng);
20 std::string Surname(RefCountedPtr<Random> &rng);
21 std::string BodyName(SystemBody *body, RefCountedPtr<Random> &rng);
22
23private:
24 LuaManager *m_luaManager;
25};
26
27#endif
Definition LuaManager.h:9
Definition LuaNameGen.h:14
LuaNameGen(LuaManager *manager)
Definition LuaNameGen.h:16
std::string BodyName(SystemBody *body, RefCountedPtr< Random > &rng)
Definition LuaNameGen.cpp:67
std::string Surname(RefCountedPtr< Random > &rng)
Definition LuaNameGen.cpp:51
std::string FullName(bool isFemale, RefCountedPtr< Random > &rng)
Definition LuaNameGen.cpp:34
Definition Random.h:27
Definition RefCounted.h:36
Definition SystemBody.h:19