C# Class Hardly.Library.Twitch.ChannelPointManager

Show file Open project: hardlydifficult/HardlyBot Class Usage Examples

Public Methods

Method Description
ChannelPointManager ( ITwitchFactory factory, TwitchChannel channel ) : System
ForUser ( TwitchUser user ) : TwitchUserPointManager
GetAboutPoints ( ) : string
GetPointsFromString ( string message ) : ulong
ToPointsString ( ulong points, bool justTopDollar = false ) : string

Private Methods

Method Description
LoadUnits ( TwitchChannel channel ) : PointUnit[]

Method Details

ChannelPointManager() public method

public ChannelPointManager ( ITwitchFactory factory, TwitchChannel channel ) : System
factory ITwitchFactory
channel TwitchChannel
return System

ForUser() public method

public ForUser ( TwitchUser user ) : TwitchUserPointManager
user TwitchUser
return TwitchUserPointManager

GetAboutPoints() public method

public GetAboutPoints ( ) : string
return string

GetPointsFromString() public method

public GetPointsFromString ( string message ) : ulong
message string
return ulong

ToPointsString() public method

public ToPointsString ( ulong points, bool justTopDollar = false ) : string
points ulong
justTopDollar bool
return string