Owl.Util.Flag.GetAll(): {[string]: FlagState}

Server Only

Returns a dictionary mapping all registered flag names to their current FlagState.

Returns

{[string]: FlagState}Shallow copy dictionary of all flag states.

Related Types

local allFlags = Owl.Util.Flag.GetAll()
for flagName, flagState in pairs(allFlags) do
    print(flagName, "Enabled:", flagState.Enabled)
end