Fix using old method name ToPlainString()
This commit is contained in:
parent
3681fcabf7
commit
636e614ba4
3 changed files with 12 additions and 12 deletions
|
|
@ -106,7 +106,7 @@ protected function FromData(AssociativeArray source)
|
|||
}
|
||||
nextText = source.GetText(P("difficulty"));
|
||||
if (nextText != none) {
|
||||
difficulty = nextText.ToPlainString();
|
||||
difficulty = nextText.ToString();
|
||||
}
|
||||
includeFeature =
|
||||
DynamicIntoStringArray(source.GetDynamicArray(P("includeFeature")));
|
||||
|
|
@ -136,11 +136,11 @@ private final function FeatureConfigPair AssociativeArrayIntoPair(
|
|||
}
|
||||
nextText = source.GetText(P("feature"));
|
||||
if (nextText != none) {
|
||||
result.feature = nextText.ToPlainString();
|
||||
result.feature = nextText.ToString();
|
||||
}
|
||||
nextText = source.GetText(P("config"));
|
||||
if (nextText != none) {
|
||||
result.config = nextText.ToPlainString();
|
||||
result.config = nextText.ToString();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
@ -157,7 +157,7 @@ private final function array<string> DynamicIntoStringArray(DynamicArray source)
|
|||
{
|
||||
nextText = source.GetText(i);
|
||||
if (nextText != none) {
|
||||
includeFeature[i] = nextText.ToPlainString();
|
||||
includeFeature[i] = nextText.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -91,15 +91,15 @@ protected function FromData(AssociativeArray source)
|
|||
}
|
||||
nextText = source.GetText(P("gameTypeClass"));
|
||||
if (nextText != none) {
|
||||
gameTypeClass = nextText.ToPlainString();
|
||||
gameTypeClass = nextText.ToString();
|
||||
}
|
||||
nextText = source.GetText(P("acronym"));
|
||||
if (nextText != none) {
|
||||
acronym = nextText.ToPlainString();
|
||||
acronym = nextText.ToString();
|
||||
}
|
||||
nextText = source.GetText(P("mapPrefix"));
|
||||
if (nextText != none) {
|
||||
mapPrefix = nextText.ToPlainString();
|
||||
mapPrefix = nextText.ToString();
|
||||
}
|
||||
nextArray = source.GetDynamicArray(P("option"));
|
||||
if (nextArray == none) {
|
||||
|
|
@ -112,11 +112,11 @@ protected function FromData(AssociativeArray source)
|
|||
nextPair.value = "";
|
||||
nextText = source.GetText(P("key"));
|
||||
if (nextText != none) {
|
||||
nextPair.key = nextText.ToPlainString();
|
||||
nextPair.key = nextText.ToString();
|
||||
}
|
||||
nextText = source.GetText(P("value"));
|
||||
if (nextText != none) {
|
||||
nextPair.value = nextText.ToPlainString();
|
||||
nextPair.value = nextText.ToString();
|
||||
}
|
||||
option[option.length] = nextPair;
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue