Dynamically create String variables
Posted: Sun Dec 10, 2017 9:22 am
I was looking through all the native function declarations in the UT packages and I found interesting stuff in WebRequest.uc:
Does it mean we could dynamically create String variables like with a dynamic array?
Also, this variable is another interesting thing:
I wonder if this map could be set by SetPropertyText().
And this is what I found in WebResponse.uc:
Does it mean we can send binary files to those who access our UT built webpage?
Code: Select all
native final function AddVariable(string VariableName, string Value);
native final function string GetVariable(string VariableName, optional string DefaultValue);
native final function int GetVariableCount(string VariableName);
native final function string GetVariableNumber(string VariableName, int Number, optional string DefaultValue);
Also, this variable is another interesting thing:
Code: Select all
var private native const int VariableMap[5]; // TMultiMap<FString, FString>!
And this is what I found in WebResponse.uc:
Code: Select all
native final function IncludeBinaryFile(string Filename);