*// do any conversion of caching of the "data" here and forward this to behavior (often the reason for this is that you can't pass everything to behavior
*// plus behavior can't really handle all constructs pointer to pointer, rvalues, etc. as they don't make sense for most script environments
*intresult=0;// set the default value for your result if the behavior if there is no implmentation
*intresult=0;// set the default value for your result if the behavior if there is no implementation
*// The AZ_EBUS_BEHAVIOR_BINDER defines FN_EventName for each index. You can also cache it yourself (but it's slower), static int cacheIndex = GetFunctionIndex("OnEvent1"); and use that .
*CallResult(result,FN_OnEvent1,data);// forward to the binding (there can be none, this is why we need to always have properly set result, when there is one)
*returnresult;// return the result like you will in any normal EBus even with result
//note that seeking beyond end or before beginning is system dependent
//therefore we will define that on all platforms it is not allowed
if(newFilePosition<0)
{
AZ_TracePrintf(RemoteFileIOChannel,"RemoteFileIO::Seek(fileHandle=%u, offset=%i, type=%s) seek to a position before the begining of a file!",fileHandle,offset,type==SeekType::SeekFromCurrent?"SeekFromCurrent":type==SeekType::SeekFromEnd?"SeekFromEnd":type==SeekType::SeekFromStart?"SeekFromStart":"Unknown");
REMOTEFILE_LOG_APPEND(AZStd::string::format("RemoteFileIO::Seek(fileHandle=%u, offset=%i, type=%s) seek to a position before the begining of a file!",fileHandle,offset,type==SeekType::SeekFromCurrent?"SeekFromCurrent":type==SeekType::SeekFromEnd?"SeekFromEnd":type==SeekType::SeekFromStart?"SeekFromStart":"Unknown").c_str());
set(LY_TOUCHBENDING_LAYER_BIT63CACHESTRING"Use TouchBending as the collision layer. The TouchBending layer can be a number from 1 to 63 (Default=63).")
AZ_Assert(status==AzFramework::AssetSystem::AssetStatus_Compiled||status==AzFramework::AssetSystem::AssetStatus_Unknown,"Could not compile the default render pipeline at '%s'",m_defaultPipelineAssetPath.c_str());
AZ_Assert(status==AzFramework::AssetSystem::AssetStatus_Compiled||status==AzFramework::AssetSystem::AssetStatus_Unknown,"Could not compile the default render pipeline at '%s'",pipelineName.c_str());
outResult=AZStd::string::format("The output port number is not valid for the given node. Node '%s' only has %zu output ports.",sourceNode->GetName(),sourceNode->GetOutputPorts().size());
outResult=AZStd::string::format("The input port number is not valid for the given node. Node '%s' only has %zu input ports.",targetNode->GetName(),targetNode->GetInputPorts().size());
returnfalse;
Some files were not shown because too many files have changed in this diff
Show More