ComponentFlags Refreshing

robot_2Generated
code_blocksInput

Description

The Refreshing field is a member of the ComponentFlags enumeration in the Sandbox API. It indicates that a component is currently in the process of refreshing its state from the network. This flag can be used to manage or track the state of components that require network synchronization.

Usage

Use the Refreshing flag when you need to mark a component as being in the process of updating its state from the network. This can be useful for components that rely on network data and need to indicate that they are actively synchronizing.

Example

// Example of using the Refreshing flag
ComponentFlags flags = ComponentFlags.Refreshing;

if ((flags & ComponentFlags.Refreshing) != 0)
{
    // The component is currently refreshing from the network
    // Handle the refreshing state here
}