C# Class TwitchPickManager, twitchPickTool

Inheritance: MonoBehaviour
ファイルを表示 Open project: DanielSnd/twitchPickTool

Public Properties

Property Type Description
BackToMenu Button
ExportList Button
IRC TwitchIRC,
PickSketchButton Button
PickText Text
ResetButton Button
StartStopButton Button
StartStopText Text
acceptMultiple bool
chromakey bool
cmdStr string
countDownSlider TextBasedOnSlider,
objStr string
objectsUserDictionary List>.Dictionary
objsStr string
optionToIndex VoteOption>.Dictionary
pickInstant bool
pickRandomText Text
removeAfterPick bool
startWithOptions string
textColor1 Color
textColor2 Color
titleStr string
titleText Text
type int
usernamesVotedAlready HashSet
waitForTime float

Public Methods

Method Description
CalculateVoteResults ( ) : void
CountAll ( ) : int
DoExportList ( ) : void
ObjectReceived ( string username, string idea ) : void
PickRandomObject ( ) : void
ResetDictionary ( ) : void
ReturnToMenu ( ) : void
SetObjectText ( string username, bool forReals = true ) : void
ShakeScale ( Transform t, float scale = 1, float duration = 0.15f ) : void
StartPicking ( ) : void
StartStopClicked ( ) : void
StartWithVotesAdd ( ) : void
StopPicking ( ) : void
UpdateButtons ( ) : void
UpdateObjsText ( ) : void
VoteReceived ( string _username, int _voteindex ) : void

Private Methods

Method Description
Awake ( ) : void
CountDownToStop ( ) : IEnumerator
DOPickRandom ( ) : IEnumerator
HexConverter ( Color32 c ) : string
InitializeCommon ( ) : void
InitializeIRC ( ) : void
InitializePickUser ( ) : void
InitializePickingSuggestion ( ) : void
InitializeVotingSuggestion ( ) : void
OnChatMsgRecieved ( string msg ) : void
Start ( ) : void
StartVoting ( ) : void
UpdateVotesText ( ) : void

Method Details

CalculateVoteResults() public method

public CalculateVoteResults ( ) : void
return void

CountAll() public method

public CountAll ( ) : int
return int

DoExportList() public method

public DoExportList ( ) : void
return void

ObjectReceived() public method

public ObjectReceived ( string username, string idea ) : void
username string
idea string
return void

PickRandomObject() public method

public PickRandomObject ( ) : void
return void

ResetDictionary() public method

public ResetDictionary ( ) : void
return void

ReturnToMenu() public method

public ReturnToMenu ( ) : void
return void

SetObjectText() public method

public SetObjectText ( string username, bool forReals = true ) : void
username string
forReals bool
return void

ShakeScale() public method

public ShakeScale ( Transform t, float scale = 1, float duration = 0.15f ) : void
t Transform
scale float
duration float
return void

StartPicking() public method

public StartPicking ( ) : void
return void

StartStopClicked() public method

public StartStopClicked ( ) : void
return void

StartWithVotesAdd() public method

public StartWithVotesAdd ( ) : void
return void

StopPicking() public method

public StopPicking ( ) : void
return void

UpdateButtons() public method

public UpdateButtons ( ) : void
return void

UpdateObjsText() public method

public UpdateObjsText ( ) : void
return void

VoteReceived() public method

public VoteReceived ( string _username, int _voteindex ) : void
_username string
_voteindex int
return void

Property Details

BackToMenu public_oe property

public Button BackToMenu
return Button

ExportList public_oe property

public Button ExportList
return Button

IRC public_oe property

public TwitchIRC, IRC
return TwitchIRC,

PickSketchButton public_oe property

public Button PickSketchButton
return Button

PickText public_oe property

public Text PickText
return Text

ResetButton public_oe property

public Button ResetButton
return Button

StartStopButton public_oe property

public Button StartStopButton
return Button

StartStopText public_oe property

public Text StartStopText
return Text

acceptMultiple public_oe property

public bool acceptMultiple
return bool

chromakey public_oe property

public bool chromakey
return bool

cmdStr public_oe property

public string cmdStr
return string

countDownSlider public_oe property

public TextBasedOnSlider, countDownSlider
return TextBasedOnSlider,

objStr public_oe property

public string objStr
return string

objectsUserDictionary public_oe property

public Dictionary> objectsUserDictionary
return List>.Dictionary

objsStr public_oe property

public string objsStr
return string

optionToIndex public_oe property

public Dictionary optionToIndex
return VoteOption>.Dictionary

pickInstant public_oe property

public bool pickInstant
return bool

pickRandomText public_oe property

public Text pickRandomText
return Text

removeAfterPick public_oe property

public bool removeAfterPick
return bool

startWithOptions public_oe property

public string startWithOptions
return string

textColor1 public_oe property

public Color textColor1
return Color

textColor2 public_oe property

public Color textColor2
return Color

titleStr public_oe property

public string titleStr
return string

titleText public_oe property

public Text titleText
return Text

type public_oe property

public int type
return int

usernamesVotedAlready public_oe property

public HashSet usernamesVotedAlready
return HashSet

waitForTime public_oe property

public float waitForTime
return float