MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / GetEventSub

Method GetEventSub

plugins/twitch/token.cpp:342–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342std::shared_ptr<EventSub> TwitchToken::GetEventSub()
343{
344 if (!_eventSub) {
345 _eventSub = std::make_shared<EventSub>();
346 _eventSub->EnableTimestampValidation(
347 _validateEventSubTimestamps);
348 }
349 return _eventSub;
350}
351
352bool TwitchToken::IsValid(bool forceUpdate) const
353{

Callers 2

AddEventSubscriptionMethod · 0.80
CheckConditionMethod · 0.80

Calls 1

Tested by

no test coverage detected