34 lines
25 KiB
Markdown
34 lines
25 KiB
Markdown
# FunctionFlags :
|
|
|Name |Feature |Value |Description|UFUNCTION/UDELEGATE |UFUNCTION/UDELEGATE 1 |USTRUCT |
|
|
|------------------------------------|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------|
|
|
|FUNC_Final |Trait |0x00000001 |Function is final (prebindable, non-overridable function).|[SealedEvent](../Specifier/UFUNCTION/Blueprint/SealedEvent/SealedEvent.md) | | |
|
|
|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](../Specifier/UFUNCTION/Network/BlueprintAuthorityOnly/BlueprintAuthorityOnly.md) | | |
|
|
|FUNC_BlueprintCosmetic |Network |0x00000008 |Function is cosmetic in nature and should not be invoked on dedicated servers|[BlueprintCosmetic](../Specifier/UFUNCTION/Network/BlueprintCosmetic/BlueprintCosmetic.md) | | |
|
|
|FUNC_Net |Network |0x00000040 |Function is network-replicated.|[Client](../Specifier/UFUNCTION/Network/Client/Client.md), [NetMulticast](../Specifier/UFUNCTION/Network/NetMulticast/NetMulticast.md), [Server](../Specifier/UFUNCTION/Network/Server/Server.md), [ServiceRequest](../Specifier/UFUNCTION/Network/ServiceRequest.md), [ServiceResponse](../Specifier/UFUNCTION/Network/ServiceResponse.md)| | |
|
|
|FUNC_NetReliable |Network |0x00000080 |Function should be sent reliably on the network.|[Reliable](../Specifier/UFUNCTION/Network/Reliable.md), [ServiceRequest](../Specifier/UFUNCTION/Network/ServiceRequest.md), [ServiceResponse](../Specifier/UFUNCTION/Network/ServiceResponse.md) | | |
|
|
|FUNC_NetRequest |Network |0x00000100 |Function is sent to a net service|[ServiceRequest](../Specifier/UFUNCTION/Network/ServiceRequest.md) | | |
|
|
|FUNC_Exec |Trait |0x00000200 |Executable from command line.|[Exec](../Specifier/UFUNCTION/Exec/Exec.md) | | |
|
|
|FUNC_Native |Trait |0x00000400 |Native function.|[BlueprintImplementableEvent](../Specifier/UFUNCTION/Blueprint/BlueprintImplementableEvent/BlueprintImplementableEvent.md) | | |
|
|
|FUNC_Event |Trait |0x00000800 |Event function.|[BlueprintImplementableEvent](../Specifier/UFUNCTION/Blueprint/BlueprintImplementableEvent/BlueprintImplementableEvent.md), [BlueprintNativeEvent](../Specifier/UFUNCTION/Blueprint/BlueprintNativeEvent/BlueprintNativeEvent.md), [ServiceRequest](../Specifier/UFUNCTION/Network/ServiceRequest.md), [ServiceResponse](../Specifier/UFUNCTION/Network/ServiceResponse.md)| | |
|
|
|FUNC_NetResponse |Network |0x00001000 |Function response from a net service|[ServiceResponse](../Specifier/UFUNCTION/Network/ServiceResponse.md) | | |
|
|
|FUNC_Static | |0x00002000 |Static function.| | | |
|
|
|FUNC_NetMulticast |Network |0x00004000 |Function is networked multicast Server -> All Clients|[NetMulticast](../Specifier/UFUNCTION/Network/NetMulticast/NetMulticast.md) | | |
|
|
|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](../Specifier/UFUNCTION/Network/Server/Server.md) | | |
|
|
|FUNC_HasOutParms |Trait |0x00400000 |function has out (pass by reference) parameters| | | |
|
|
|FUNC_HasDefaults |Trait |0x00800000 |function has structs that contain defaults| | |[HasDefaults](../Specifier/USTRUCT/UHT/HasDefaults.md)|
|
|
|FUNC_NetClient |Network |0x01000000 |function is executed on clients|[Client](../Specifier/UFUNCTION/Network/Client/Client.md) | | |
|
|
|FUNC_DLLImport |Dll |0x02000000 |function is imported from a DLL| | | |
|
|
|FUNC_BlueprintCallable |Blueprint |0x04000000 |function can be called from blueprint code|[BlueprintGetter](../Specifier/UFUNCTION/Blueprint/BlueprintGetter.md), [BlueprintPure](../Specifier/UFUNCTION/Blueprint/BlueprintPure/BlueprintPure.md), [BlueprintSetter](../Specifier/UFUNCTION/Blueprint/BlueprintSetter.md), [BlueprintCallable](../Specifier/UFUNCTION/Blueprint/BlueprintCallable/BlueprintCallable.md)| | |
|
|
|FUNC_BlueprintEvent |Blueprint |0x08000000 |function can be overridden/implemented from a blueprint|[BlueprintImplementableEvent](../Specifier/UFUNCTION/Blueprint/BlueprintImplementableEvent/BlueprintImplementableEvent.md), [BlueprintNativeEvent](../Specifier/UFUNCTION/Blueprint/BlueprintNativeEvent/BlueprintNativeEvent.md) | | |
|
|
|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](../Specifier/UFUNCTION/Blueprint/BlueprintGetter.md), [BlueprintPure](../Specifier/UFUNCTION/Blueprint/BlueprintPure/BlueprintPure.md) | | |
|
|
|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](../Specifier/UFUNCTION/Network/WithValidation.md) | | |
|