C# Class Hardly.Library.Twitch.SqlTwitchFactory

Inheritance: ITwitchFactory
Mostrar archivo Open project: hardlydifficult/HardlyBot

Public Methods

Method Description
ClearFollowingBitForAllUsers ( TwitchChannel channel ) : void
CreateHearthstoneFactory ( ) : IHearthstoneFactory
CreateSqlTwitchAlert ( SqlTwitchConnection connection, string alertGuid, System.DateTime lastFollowerNotification = default(DateTime) ) : TwitchAlert
CreateTwitchChannel ( TwitchUser user ) : TwitchChannel
CreateTwitchChannel ( TwitchUser user, bool isLive, string previewImageUrl, string game, uint liveViewers, uint totalViews, uint followers ) : TwitchChannel
FromGuid ( string value ) : TwitchAlert
GetAlert ( TwitchConnection connection, string alertGuid, System.DateTime lastFollowerNotification = default(DateTime) ) : TwitchAlert
GetAllAutoConnectingConnections ( TwitchBot bot ) : TwitchConnection[]
GetAllBots ( ) : TwitchBot[]
GetAllCommands ( TwitchConnection twitchConnection ) : TwitchCommand[]
GetAllLiveFollowers ( TwitchChannel channel ) : TwitchChannel[]
GetAllUserInChannels ( TwitchChannel channel ) : TwitchUserInChannel[]
GetChannel ( TwitchUser twitchUser ) : TwitchChannel
GetChannelPointScale ( TwitchChannel channel ) : TwitchChannelPointScale[]
GetNewFollowers ( TwitchAlert alerts ) : TwitchUserInChannel[]
GetTopUsers ( TwitchChannel channel, uint count ) : TwitchUserPoints[]
GetUser ( uint id, string name, System.DateTime created, string logo, string bio ) : TwitchUser
GetUserForID ( uint id ) : TwitchUser
GetUserFromName ( string username ) : TwitchUser
GetUserInChannel ( TwitchUser user, TwitchChannel channel ) : TwitchUserInChannel
GetUserPointManager ( TwitchChannel channel, TwitchUser user ) : TwitchUserPointManager
GetUserPoints ( TwitchUser user, TwitchChannel channel ) : TwitchUserPoints
SqlTwitchFactory ( ) : System

Method Details

ClearFollowingBitForAllUsers() public method

public ClearFollowingBitForAllUsers ( TwitchChannel channel ) : void
channel TwitchChannel
return void

CreateHearthstoneFactory() public method

public CreateHearthstoneFactory ( ) : IHearthstoneFactory
return IHearthstoneFactory

CreateSqlTwitchAlert() public method

public CreateSqlTwitchAlert ( SqlTwitchConnection connection, string alertGuid, System.DateTime lastFollowerNotification = default(DateTime) ) : TwitchAlert
connection SqlTwitchConnection
alertGuid string
lastFollowerNotification System.DateTime
return TwitchAlert

CreateTwitchChannel() public method

public CreateTwitchChannel ( TwitchUser user ) : TwitchChannel
user TwitchUser
return TwitchChannel

CreateTwitchChannel() public method

public CreateTwitchChannel ( TwitchUser user, bool isLive, string previewImageUrl, string game, uint liveViewers, uint totalViews, uint followers ) : TwitchChannel
user TwitchUser
isLive bool
previewImageUrl string
game string
liveViewers uint
totalViews uint
followers uint
return TwitchChannel

FromGuid() public method

public FromGuid ( string value ) : TwitchAlert
value string
return TwitchAlert

GetAlert() public method

public GetAlert ( TwitchConnection connection, string alertGuid, System.DateTime lastFollowerNotification = default(DateTime) ) : TwitchAlert
connection TwitchConnection
alertGuid string
lastFollowerNotification System.DateTime
return TwitchAlert

GetAllAutoConnectingConnections() public method

public GetAllAutoConnectingConnections ( TwitchBot bot ) : TwitchConnection[]
bot TwitchBot
return TwitchConnection[]

GetAllBots() public method

public GetAllBots ( ) : TwitchBot[]
return TwitchBot[]

GetAllCommands() public method

public GetAllCommands ( TwitchConnection twitchConnection ) : TwitchCommand[]
twitchConnection TwitchConnection
return TwitchCommand[]

GetAllLiveFollowers() public method

public GetAllLiveFollowers ( TwitchChannel channel ) : TwitchChannel[]
channel TwitchChannel
return TwitchChannel[]

GetAllUserInChannels() public method

public GetAllUserInChannels ( TwitchChannel channel ) : TwitchUserInChannel[]
channel TwitchChannel
return TwitchUserInChannel[]

GetChannel() public method

public GetChannel ( TwitchUser twitchUser ) : TwitchChannel
twitchUser TwitchUser
return TwitchChannel

GetChannelPointScale() public method

public GetChannelPointScale ( TwitchChannel channel ) : TwitchChannelPointScale[]
channel TwitchChannel
return TwitchChannelPointScale[]

GetNewFollowers() public method

public GetNewFollowers ( TwitchAlert alerts ) : TwitchUserInChannel[]
alerts TwitchAlert
return TwitchUserInChannel[]

GetTopUsers() public method

public GetTopUsers ( TwitchChannel channel, uint count ) : TwitchUserPoints[]
channel TwitchChannel
count uint
return TwitchUserPoints[]

GetUser() public method

public GetUser ( uint id, string name, System.DateTime created, string logo, string bio ) : TwitchUser
id uint
name string
created System.DateTime
logo string
bio string
return TwitchUser

GetUserForID() public method

public GetUserForID ( uint id ) : TwitchUser
id uint
return TwitchUser

GetUserFromName() public method

public GetUserFromName ( string username ) : TwitchUser
username string
return TwitchUser

GetUserInChannel() public method

public GetUserInChannel ( TwitchUser user, TwitchChannel channel ) : TwitchUserInChannel
user TwitchUser
channel TwitchChannel
return TwitchUserInChannel

GetUserPointManager() public method

public GetUserPointManager ( TwitchChannel channel, TwitchUser user ) : TwitchUserPointManager
channel TwitchChannel
user TwitchUser
return TwitchUserPointManager

GetUserPoints() public method

public GetUserPoints ( TwitchUser user, TwitchChannel channel ) : TwitchUserPoints
user TwitchUser
channel TwitchChannel
return TwitchUserPoints

SqlTwitchFactory() public method

public SqlTwitchFactory ( ) : System
return System