diff --git a/tcdata.go b/tcdata.go index 5c25b08..0e363eb 100644 --- a/tcdata.go +++ b/tcdata.go @@ -16,6 +16,11 @@ type TCData struct { PublisherTC *PublisherTC } +// Returns true if user has given consent to special feature id +func (t *TCData) IsSpecialFeatureAllowed(id int) bool { + return t.CoreString.IsSpecialFeatureAllowed(id) +} + // Returns true if user has given consent to purpose id func (t *TCData) IsPurposeAllowed(id int) bool { return t.CoreString.IsPurposeAllowed(id)