ScriptContext::FromNativeContext(l)->Error(ScriptContext::ErrorType::Warning,true,"Invalid index type [], should be string! '%s:%s'!",lua_tostring(l,-1),lua_tostring(l,-4));
}
else
{
// if we have custom index handler
lua_pushvalue(l,-4);// duplicate the table (class pointer)
lua_pushvalue(l,-4);// duplicate the index value for the call
lua_call(l,2,1);// call the function
}
lua_remove(l,metaTableIndex);// remove the metatable
return1;
}
if(!lua_isnil(l,-1))
{
if(lua_tocfunction(l,-1)==&Internal::LuaPropertyTagHelper)// if it's a property
{
lua_getupvalue(l,-1,1);// push on the stack the getter function
lua_remove(l,-2);// remove property object
if(lua_isnil(l,-1))
{
lua_rawgeti(l,-2,AZ_LUA_CLASS_METATABLE_NAME_INDEX);// load the class name for a better error
if(!lua_isstring(l,-1))// if we failed it means we are the base metatable
ScriptContext::FromNativeContext(l)->Error(ScriptContext::ErrorType::Warning,true,"Property '%s:%s' is write only",lua_tostring(l,-1),lua_tostring(l,-4));
lua_pop(l,1);// pop class name
}
else
{
lua_pushvalue(l,-4);// copy the user data to be passed as a this pointer.
lua_call(l,1,1);// call a function with one argument (this pointer) and 1 result
}
}
}
lua_remove(l,metaTableIndex);// remove the metatable
conststaticAZ::Crc32Ignore=AZ_CRC("ScriptIgnore",0xeb7615e1);///< Don't use the element in the script reflection
conststaticAZ::Crc32ClassNameOverride=AZ_CRC("ScriptClassNameOverride",0x891238a3);///< Provide a custom name for script reflection, that doesn't match the behavior Context name
conststaticAZ::Crc32MethodOverride=AZ_CRC("ScriptFunctionOverride",0xf89a7882);///< Use a custom function in the attribute instead of the function
conststaticAZ::Crc32ConstructorOverride=AZ_CRC("ConstructorOverride",0xef5ce4aa);///< You can provide a custom constructor to be called when created from Lua script
conststaticAZ::Crc32EventHandlerCreationFunction=AZ_CRC_CE("EventHandlerCreationFunction");///< helps create a handler for any script target so that script functions can be used for AZ::Event signals
conststaticAZ::Crc32GenericConstructorOverride=AZ_CRC("GenericConstructorOverride",0xe6a1698e);///< You can provide a custom constructor to be called when creating a script
conststaticAZ::Crc32ReaderWriterOverride=AZ_CRC("ReaderWriterOverride",0x1ad9ce2a);///< paired with \ref ScriptContext::CustomReaderWriter allows you to customize read/write to Lua VM
conststaticAZ::Crc32ConstructibleFromNil=AZ_CRC("ConstructibleFromNil",0x23908169);///< Applied to classes. Value (bool) specifies if the class be default constructed when nil is provided.
conststaticAZ::Crc32ToolTip=AZ_CRC("ToolTip",0xa1b95fb0);///< Add a tooltip for a method/event/property
conststaticAZ::Crc32Category=AZ_CRC("Category",0x064c19c1);///< Provide a category to allow for partitioning/sorting/ordering of the element
conststaticAZ::Crc32Deprecated=AZ_CRC("Deprecated",0xfe49a138);///< Marks a reflected class, method, EBus or property as deprecated.
conststaticAZ::Crc32DisallowBroadcast=AZ_CRC("DisallowBroadcast",0x389b0ac7);///< Marks a reflected EBus as not allowing Broadcasts, only Events.
conststaticAZ::Crc32ClassConstantValue=AZ_CRC_CE("ClassConstantValue");///< Indicates the property is backed by a constant value
staticconstexprAZ::Crc32Ignore=AZ_CRC_CE("ScriptIgnore");///< Don't use the element in the script reflection
staticconstexprAZ::Crc32ClassNameOverride=AZ_CRC_CE("ScriptClassNameOverride");///< Provide a custom name for script reflection, that doesn't match the behavior Context name
staticconstexprAZ::Crc32MethodOverride=AZ_CRC_CE("ScriptFunctionOverride");///< Use a custom function in the attribute instead of the function
staticconstexprAZ::Crc32ConstructorOverride=AZ_CRC_CE("ConstructorOverride");///< You can provide a custom constructor to be called when created from Lua script
staticconstexprAZ::Crc32EventHandlerCreationFunction=AZ_CRC_CE("EventHandlerCreationFunction");///< helps create a handler for any script target so that script functions can be used for AZ::Event signals
staticconstexprAZ::Crc32GenericConstructorOverride=AZ_CRC_CE("GenericConstructorOverride");///< You can provide a custom constructor to be called when creating a script
staticconstexprAZ::Crc32ReaderWriterOverride=AZ_CRC_CE("ReaderWriterOverride");///< paired with \ref ScriptContext::CustomReaderWriter allows you to customize read/write to Lua VM
staticconstexprAZ::Crc32ConstructibleFromNil=AZ_CRC_CE("ConstructibleFromNil");///< Applied to classes. Value (bool) specifies if the class be default constructed when nil is provided.
staticconstexprAZ::Crc32ToolTip=AZ_CRC_CE("ToolTip");///< Add a tooltip for a method/event/property
staticconstexprAZ::Crc32Category=AZ_CRC_CE("Category");///< Provide a category to allow for partitioning/sorting/ordering of the element
staticconstexprAZ::Crc32Deprecated=AZ_CRC_CE("Deprecated");///< Marks a reflected class, method, EBus or property as deprecated.
staticconstexprAZ::Crc32DisallowBroadcast=AZ_CRC_CE("DisallowBroadcast");///< Marks a reflected EBus as not allowing Broadcasts, only Events.
staticconstexprAZ::Crc32ClassConstantValue=AZ_CRC_CE("ClassConstantValue");///< Indicates the property is backed by a constant value
staticconstexprAZ::Crc32UseClassIndexAllowNil=AZ_CRC_CE("UseClassIndexAllowNil");///< Use the Class__IndexAllowNil method, which will not report an error on accessing undeclared values (allows for nil)
//! Attribute which stores BehaviorAzEventDescription structure which contains
//! the script name of an AZ::Event and the name of it's parameter arguments
///< This attribute can be attached to the EditContext Attribute of a reflected class, the BehaviorContext Attribute of a reflected class, method, ebus or property.
///< ExcludeFlags can be used to prevent elements from appearing in List, Documentation, etc...
SceneQuery::HitFlagsm_hitFlags=SceneQuery::HitFlags::Default|SceneQuery::HitFlags::MTD;//!< Query behavior flags. MTD Is On by default to correctly report objects that are initially in contact with the start pose.
SceneQuery::FilterCallbackm_filterCallback=nullptr;//!< Hit filtering function
boolm_reportMultipleHits=false;//!< flag to have the cast stop after the first hit or return all hits along the query.
QStringmsg=QCoreApplication::translate("Asset Processor","Processing %1 (%2)...\n","%1 is the name of the file, and %2 is the platform to process it for").arg(inputFile,platform);
QStringmsg=QCoreApplication::translate("O3DE Asset Processor","Processing %1 (%2)...\n","%1 is the name of the file, and %2 is the platform to process it for").arg(inputFile,platform);
AZ_Warning("AWSCognitoAuthenticationProvider",!m_cognitoAppClientId.empty(),"Missing Cognito App Client Id from resource mappings. Calls to Cognito will fail.");
// NB: Consider using ImFontGlyphRangesBuilder to build glyph ranges from textual data.
IMGUI_APIconstImWchar*GetGlyphRangesDefault();// Basic Latin, Extended Latin
IMGUI_APIconstImWchar*GetGlyphRangesKorean();// Default + Korean characters
IMGUI_APIconstImWchar*GetGlyphRangesJapanese();// Default + Hiragana, Katakana, Half-Width, Selection of 2999 Ideographs
IMGUI_APIconstImWchar*GetGlyphRangesChineseFull();// Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs
IMGUI_APIconstImWchar*GetGlyphRangesChineseSimplifiedCommon();// Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese
IMGUI_APIconstImWchar*GetGlyphRangesCyrillic();// Default + about 400 Cyrillic characters