TwitchLib / TwitchLib.Unity

TwitchLib repository representing all code belonging to the implementation of TwitchLib for Unity. Maintained primarily by LuckyNoS7evin.
163 stars 33 forks source link

Adding TwitchClientUnity that wraps TwitchClient and inherits ITwitchClient #1

Closed BjornGameDev closed 6 years ago

BjornGameDev commented 6 years ago

It is for the old TwitchClient, the newest TwitchClient has already been updated, but as it forwards the actual implementation to TwitchClient, and inherits ITwitchClient it should be low maintenance to keep up to date.

BjornGameDev commented 6 years ago

The client actually wraps the TwitchClient, so it only needs to be updated if the interface changes.

BjornGameDev commented 6 years ago

Yes, it isn't beautiful. I wish I had found a cleaner way to do it. My goal was to keep the way you use TwitchLib the same, so the same docs can be used.

swiftyspiffy commented 6 years ago

Just sucks to add another place that needs to be constantly kept up to date, but fair enough. I'm going to wait for either @Syzuna @LuckyNoS7evin or one of the others to review this just because I'm not super familiar with Unity.