internal static ChatSimpleUser Create(TwitchChatClient client, UserStateModel model) { var entity = new ChatSimpleUser(client, client.TokenInfo.UserId); entity.Update(model); return(entity); }
internal override void Update(UserStateModel model) { base.Update(model); Color = model.Color; UserType = model.UserType; IsMod = model.IsMod; IsSubscriber = model.IsSubscriber; IsTurbo = false; // Turbo is found in badges for this model }
internal virtual void Update(UserStateModel model) { Name = model.DisplayName.ToLower(); DisplayName = model.DisplayName; }
internal override void Update(UserStateModel model) { base.Update(model); EmoteSets = model.EmoteSets; }