Checks two data IDs for equality allowing globs to match, whilst also allowing clients to whitelist sections that have to match.
data_id1 |
a data ID |
data_id2 |
another data ID |
match_flags |
a DataIdMatchFlags bitfield, e.g. as_data_id_match_flag_id |
true if the IDs should be considered equal. |