Skip to content

Latest commit

 

History

History
33 lines (33 loc) · 24.7 KB

EFunctionFlags.md

File metadata and controls

33 lines (33 loc) · 24.7 KB

FunctionFlags :

Name Feature Value Description UFUNCTION/UDELEGATE UFUNCTION/UDELEGATE 1 USTRUCT
FUNC_Final Trait 0x00000001 Function is final (prebindable, non-overridable function). SealedEvent
FUNC_RequiredAPI Dll 0x00000002 Indicates this function is DLL exported/imported.
FUNC_BlueprintAuthorityOnly Network 0x00000004 Function will only run if the object has network authority BlueprintAuthorityOnly
FUNC_BlueprintCosmetic Network 0x00000008 Function is cosmetic in nature and should not be invoked on dedicated servers BlueprintCosmetic
FUNC_Net Network 0x00000040 Function is network-replicated. Client, NetMulticast, Server, ServiceRequest, ServiceResponse
FUNC_NetReliable Network 0x00000080 Function should be sent reliably on the network. Reliable, ServiceRequest, ServiceResponse
FUNC_NetRequest Network 0x00000100 Function is sent to a net service ServiceRequest
FUNC_Exec Trait 0x00000200 Executable from command line. Exec
FUNC_Native Trait 0x00000400 Native function. BlueprintImplementableEvent
FUNC_Event Trait 0x00000800 Event function. BlueprintImplementableEvent, BlueprintNativeEvent, ServiceRequest, ServiceResponse
FUNC_NetResponse Network 0x00001000 Function response from a net service ServiceResponse
FUNC_Static 0x00002000 Static function.
FUNC_NetMulticast Network 0x00004000 Function is networked multicast Server -> All Clients NetMulticast
FUNC_UbergraphFunction Blueprint 0x00008000 Function is used as the merge 'ubergraph' for a blueprint, only assigned when using the persistent 'ubergraph' frame
FUNC_MulticastDelegate Trait 0x00010000 Function is a multi-cast delegate signature (also requires FUNC_Delegate to be set!)
FUNC_Public Trait 0x00020000 Function is accessible in all classes (if overridden, parameters must remain unchanged).
FUNC_Private Trait 0x00040000 Function is accessible only in the class it is defined in (cannot be overridden, but function name may be reused in subclasses. IOW: if overridden, parameters don't need to match, and Super.Func() cannot be accessed since it's private.)
FUNC_Protected Trait 0x00080000 Function is accessible only in the class it is defined in and subclasses (if overridden, parameters much remain unchanged).
FUNC_Delegate Trait 0x00100000 Function is delegate signature (either single-cast or multi-cast, depending on whether FUNC_MulticastDelegate is set.)
FUNC_NetServer Network 0x00200000 Function is executed on servers (set by replication code if passes check) Server
FUNC_HasOutParms Trait 0x00400000 function has out (pass by reference) parameters
FUNC_HasDefaults Trait 0x00800000 function has structs that contain defaults HasDefaults
FUNC_NetClient Network 0x01000000 function is executed on clients Client
FUNC_DLLImport Dll 0x02000000 function is imported from a DLL
FUNC_BlueprintCallable Blueprint 0x04000000 function can be called from blueprint code BlueprintGetter, BlueprintPure, BlueprintSetter, BlueprintCallable
FUNC_BlueprintEvent Blueprint 0x08000000 function can be overridden/implemented from a blueprint BlueprintImplementableEvent, BlueprintNativeEvent
FUNC_BlueprintPure Blueprint 0x10000000 function can be called from blueprint code, and is also pure (produces no side effects). If you set this, you should set FUNC_BlueprintCallable as well. BlueprintGetter, BlueprintPure
FUNC_EditorOnly Trait 0x20000000 function can only be called from an editor scrippt.
FUNC_Const Trait 0x40000000 function can be called from blueprint code, and only reads state (never writes state)
FUNC_NetValidate Network 0x80000000 function must supply a _Validate implementation WithValidation