Source

UnrealMagicOfDoomOhYeah / Settings.txt

Full commit
Engine/Classes/Settings.uc
class Settings extends Object

    native function AppendContextsToURL(out string URL);
    native function AppendDataBindingsToURL(out string URL);
    native function AppendPropertiesToURL(out string URL);
    native function BuildURL(out string URL);
    native function ESettingsDataType GetPropertyType(int PropertyId);
    native function GetQoSAdvertisedProperties(out array<SettingsProperty> QoSProps);
    native function GetQoSAdvertisedStringSettings(out array<LocalizedStringSetting> QoSSettings);
    native function SetFloatProperty(int PropertyId,float Value);
    native function SetIntProperty(int PropertyId,int Value);
    native function SetStringProperty(int PropertyId,string Value);
    native function SetStringSettingValue(int StringSettingId,int ValueIndex,optional bool bShouldAutoAdd);
    native function SetStringSettingValueByName(name StringSettingName,int ValueIndex,bool bShouldAutoAdd);
    native function UpdateFromURL(const out string URL, GameInfo Game);
    native function UpdateProperties(const out array<SettingsProperty> Props,bool bShouldAddIfMissing = true);
    native function UpdateStringSettings(const out array<LocalizedStringSetting> Settings,bool bShouldAddIfMissing = true);
    native function bool GetFloatProperty(int PropertyId,out float Value);
    native function bool GetIntProperty(int PropertyId,out int Value);
    native function bool GetPropertyId(name PropertyName,out int PropertyId);
    native function bool GetPropertyMappingType(int PropertyId,out EPropertyValueMappingType OutType);
    native function bool GetPropertyRange(int PropertyId,out float OutMinValue,out float OutMaxValue,out float RangeIncrement,out byte bFormatAsInt);
    native function bool GetPropertyValueId(int PropertyId, out int ValueId);
    native function bool GetRangedPropertyValue(int PropertyId,out float OutValue);
    native function bool GetStringProperty(int PropertyId,out string Value);
    native function bool GetStringSettingId(name StringSettingName,out int StringSettingId);
    native function bool GetStringSettingValue(int StringSettingId,out int ValueIndex);
    native function bool GetStringSettingValueByName(name StringSettingName,out int ValueIndex);
    native function bool GetStringSettingValueNames(int StringSettingId,out array<IdToStringMapping> Values);
    native function bool HasProperty(int PropertyId);
    native function bool HasStringSetting(int SettingId);
    native function bool IncrementStringSettingValue(int StringSettingId,int Direction,bool bShouldWrap);
    native function bool IsWildcardStringSetting(int StringSettingId);
    native function bool SetPropertyFromStringByName(name PropertyName,const out string NewValue);
    native function bool SetPropertyValueId(int PropertyId,int ValueId);
    native function bool SetRangedPropertyValue(int PropertyId,float NewValue);
    native function bool SetStringSettingValueFromStringByName(name StringSettingName,const out string NewValue);
    native function name GetPropertyName(int PropertyId);
    native function name GetStringSettingName(int StringSettingId);
    native function name GetStringSettingValueName(int StringSettingId,int ValueIndex);
    native function name GetStringSettingValueNameByName(name StringSettingName);
    native function string GetPropertyAsString(int PropertyId);
    native function string GetPropertyAsStringByName(name PropertyName);
    native function string GetPropertyColumnHeader( int PropertyId );
    native function string GetStringSettingColumnHeader( int StringSettingId );
    static native function EmptySettingsData(out SettingsData Data);
    static native function GetSettingsDataBlob(out SettingsData Data,out array<byte> OutBlob);
    static native function GetSettingsDataDateTime(out SettingsData Data,out int OutInt1,out int OutInt2);
    static native function SetSettingsData(out SettingsData Data,out SettingsData Data2Copy);
    static native function SetSettingsDataBlob(out SettingsData Data,out array<byte> InBlob);
    static native function SetSettingsDataDateTime(out SettingsData Data,int InInt1,int InInt2);
    static native function SetSettingsDataFloat(out SettingsData Data,float InFloat);
    static native function SetSettingsDataInt(out SettingsData Data,int InInt);
    static native function SetSettingsDataString(out SettingsData Data,string InString);
    static native function float GetSettingsDataFloat(out SettingsData Data);
    static native function int GetSettingsDataInt(out SettingsData Data);
    static native function string GetSettingsDataString(out SettingsData Data);