本文整理汇总了Java中tv.twitch.chat.ChatChannelInfo类的典型用法代码示例。如果您正苦于以下问题:Java ChatChannelInfo类的具体用法?Java ChatChannelInfo怎么用?Java ChatChannelInfo使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ChatChannelInfo类属于tv.twitch.chat包,在下文中一共展示了ChatChannelInfo类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: chatChannelMembershipCallback
import tv.twitch.chat.ChatChannelInfo; //导入依赖的package包/类
public void chatChannelMembershipCallback(String p_chatChannelMembershipCallback_1_, ChatEvent p_chatChannelMembershipCallback_2_, ChatChannelInfo p_chatChannelMembershipCallback_3_)
{
switch (p_chatChannelMembershipCallback_2_)
{
case TTV_CHAT_JOINED_CHANNEL:
this.func_176035_a(ChatController.EnumChannelState.Connected);
this.func_176031_c(p_chatChannelMembershipCallback_1_);
break;
case TTV_CHAT_LEFT_CHANNEL:
this.func_176030_k();
}
}
示例2: chatChannelMembershipCallback
import tv.twitch.chat.ChatChannelInfo; //导入依赖的package包/类
public void chatChannelMembershipCallback(ChatEvent p_chatChannelMembershipCallback_1_, ChatChannelInfo p_chatChannelMembershipCallback_2_)
{
switch (ChatController.SwitchChatState.field_152982_a[p_chatChannelMembershipCallback_1_.ordinal()])
{
case 1:
this.field_153011_i = ChatController.ChatState.Connected;
this.func_152999_p();
break;
case 2:
this.field_153011_i = ChatController.ChatState.Disconnected;
}
}