register_meta_boolean


Description:

public bool register_meta_boolean (MetaFlag flags, string meta_item, bool value)

Sets the value of the specified field of the meta container to the given boolean value, and registers the field to only hold a boolean typed value.

After calling this, only boolean values can be set for this field. The given flags can be set to make this field only readable after calling this method.

Parameters:

this

A MetaContainer

flags

Flags to be used for the registered field

meta_item

The key for the this field to register

value

The value to set for the registered field

Returns:

true if the meta_item field was successfully registered on this to only hold boolean typed values, with the given flags, and the field was successfully set to value.