|
|
@ -91,15 +91,15 @@ protected function FromData(AssociativeArray source) |
|
|
|
} |
|
|
|
} |
|
|
|
nextText = source.GetText(P("gameTypeClass")); |
|
|
|
nextText = source.GetText(P("gameTypeClass")); |
|
|
|
if (nextText != none) { |
|
|
|
if (nextText != none) { |
|
|
|
gameTypeClass = nextText.ToPlainString(); |
|
|
|
gameTypeClass = nextText.ToString(); |
|
|
|
} |
|
|
|
} |
|
|
|
nextText = source.GetText(P("acronym")); |
|
|
|
nextText = source.GetText(P("acronym")); |
|
|
|
if (nextText != none) { |
|
|
|
if (nextText != none) { |
|
|
|
acronym = nextText.ToPlainString(); |
|
|
|
acronym = nextText.ToString(); |
|
|
|
} |
|
|
|
} |
|
|
|
nextText = source.GetText(P("mapPrefix")); |
|
|
|
nextText = source.GetText(P("mapPrefix")); |
|
|
|
if (nextText != none) { |
|
|
|
if (nextText != none) { |
|
|
|
mapPrefix = nextText.ToPlainString(); |
|
|
|
mapPrefix = nextText.ToString(); |
|
|
|
} |
|
|
|
} |
|
|
|
nextArray = source.GetDynamicArray(P("option")); |
|
|
|
nextArray = source.GetDynamicArray(P("option")); |
|
|
|
if (nextArray == none) { |
|
|
|
if (nextArray == none) { |
|
|
@ -112,11 +112,11 @@ protected function FromData(AssociativeArray source) |
|
|
|
nextPair.value = ""; |
|
|
|
nextPair.value = ""; |
|
|
|
nextText = source.GetText(P("key")); |
|
|
|
nextText = source.GetText(P("key")); |
|
|
|
if (nextText != none) { |
|
|
|
if (nextText != none) { |
|
|
|
nextPair.key = nextText.ToPlainString(); |
|
|
|
nextPair.key = nextText.ToString(); |
|
|
|
} |
|
|
|
} |
|
|
|
nextText = source.GetText(P("value")); |
|
|
|
nextText = source.GetText(P("value")); |
|
|
|
if (nextText != none) { |
|
|
|
if (nextText != none) { |
|
|
|
nextPair.value = nextText.ToPlainString(); |
|
|
|
nextPair.value = nextText.ToString(); |
|
|
|
} |
|
|
|
} |
|
|
|
option[option.length] = nextPair; |
|
|
|
option[option.length] = nextPair; |
|
|
|
} |
|
|
|
} |
|
|
|