get_state


Description:

public bool get_state (out ModifierType state)

If the event contains a “state” field, puts that field in state.

Otherwise stores an empty state (0). Returns true if there was a state field in the event. this may be null, in which case it’s treated as if the event had no state field.

Parameters:

this

a Event or null

state

return location for state

Returns:

true if there was a state field in the event