public void UserChats(string username) { if (username == "dragonhumpersdm" || username == "dragonhumpers") { return; } DndViewer viewer = AllViewers.Get(username); viewer.LastChatMessage = DateTime.Now; if (viewer.AlreadySeen) { return; } viewer.AlreadySeen = true; if (viewer.CardsPlayed > 0) { VipGreeting(viewer.UserName); if (viewer.HasAnyCharges()) { TellViewerAboutRemainingCharges(viewer); } } else { NormalGreeting(viewer.UserName); } }
private void StopStreaming() { AllViewers.Save(); startedStreaming = false; }