1//************************************ bs::framework - Copyright 2018 Marko Pintera **************************************//
2//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
3#include "BsPrerequisites.h"
4#include "Localization/BsHEString.h"
5
6namespace bs
7{
8 const UINT32 HEString::ENGINE_STRING_TABLE_ID = 30000; // Arbitrary
9
10 HEString::HEString(const String& identifier)
11 :mInternal(identifier, ENGINE_STRING_TABLE_ID)
12 {
13
14 }
15
16 HEString::HEString(const String& identifier, const String& defaultString)
17 : mInternal(identifier, defaultString, ENGINE_STRING_TABLE_ID)
18 {
19
20 }
21
22 HEString::HEString()
23 : mInternal(ENGINE_STRING_TABLE_ID)
24 {
25
26 }
27
28 HEString::operator HString() const
29 {
30 return mInternal;
31 }
32}