@@ -54,6 +54,8 @@ class Options : DynamicOptionsBase
54
54
public bool IsTwitchComment { get { return GetValue ( ) ; } set { SetValue ( value ) ; } }
55
55
public bool IsTwitchCommentNickname { get { return GetValue ( ) ; } set { SetValue ( value ) ; } }
56
56
public bool IsTwitchCommentEmoteId { get { return GetValue ( ) ; } set { SetValue ( value ) ; } }
57
+ public bool IsTwitchSkipSameEmote { get { return GetValue ( ) ; } set { SetValue ( value ) ; } }
58
+ public int TwitchMaxEmotes { get { return GetValue ( ) ; } set { SetValue ( value ) ; } }
57
59
58
60
//ニコ生
59
61
public bool IsNicoConnect { get { return GetValue ( ) ; } set { SetValue ( value ) ; } }
@@ -180,6 +182,8 @@ protected override void Init()
180
182
Dict . Add ( nameof ( IsTwitchComment ) , new Item { DefaultValue = true , Predicate = b => true , Serializer = b => b . ToString ( ) , Deserializer = s => bool . Parse ( s ) } ) ;
181
183
Dict . Add ( nameof ( IsTwitchCommentNickname ) , new Item { DefaultValue = true , Predicate = b => true , Serializer = b => b . ToString ( ) , Deserializer = s => bool . Parse ( s ) } ) ;
182
184
Dict . Add ( nameof ( IsTwitchCommentEmoteId ) , new Item { DefaultValue = false , Predicate = b => true , Serializer = b => b . ToString ( ) , Deserializer = s => bool . Parse ( s ) } ) ;
185
+ Dict . Add ( nameof ( IsTwitchSkipSameEmote ) , new Item { DefaultValue = true , Predicate = b => true , Serializer = b => b . ToString ( ) , Deserializer = s => bool . Parse ( s ) } ) ;
186
+ Dict . Add ( nameof ( TwitchMaxEmotes ) , new Item { DefaultValue = 3 , Predicate = n => true , Serializer = n => n . ToString ( ) , Deserializer = n => int . Parse ( n ) } ) ;
183
187
184
188
//ニコ生
185
189
Dict . Add ( nameof ( IsNicoConnect ) , new Item { DefaultValue = false , Predicate = b => true , Serializer = b => b . ToString ( ) , Deserializer = s => bool . Parse ( s ) } ) ;
0 commit comments