Enum ReplicatedStorage.UpdateFlag

    • Enum Constant Detail

      • ENABLE_LOCAL_UPDATE_INSERT

        public static final ReplicatedStorage.UpdateFlag ENABLE_LOCAL_UPDATE_INSERT

        Flag that enables the insertion of externally retrieved state into local state during the operation.

        This flag can be used, for example, if state was retrieved using the ReplicatedStorage.LookupFlag.SUPPRESS_LOCAL_INSERT flag but it was subsequently decided that the state should be updated and locally retained.

        Since:
        Rhino 2.7.0
    • Method Detail

      • values

        public static ReplicatedStorage.UpdateFlag[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ReplicatedStorage.UpdateFlag c : ReplicatedStorage.UpdateFlag.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ReplicatedStorage.UpdateFlag valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null