• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java ChatUserInfo类的典型用法和代码示例

java 2次浏览

本文整理汇总了Java中tv.twitch.chat.ChatUserInfo的典型用法代码示例。如果您正苦于以下问题:Java ChatUserInfo类的具体用法?Java ChatUserInfo怎么用?Java ChatUserInfo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

ChatUserInfo类属于tv.twitch.chat包,在下文中一共展示了ChatUserInfo类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: func_176018_a

点赞 3

import tv.twitch.chat.ChatUserInfo; //导入依赖的package包/类
public void func_176018_a(String p_176018_1_, ChatUserInfo[] p_176018_2_, ChatUserInfo[] p_176018_3_, ChatUserInfo[] p_176018_4_)
{
    for (ChatUserInfo chatuserinfo : p_176018_3_)
    {
        this.field_152955_g.remove(chatuserinfo.displayName);
    }

    for (ChatUserInfo chatuserinfo1 : p_176018_4_)
    {
        this.field_152955_g.put(chatuserinfo1.displayName, chatuserinfo1);
    }

    for (ChatUserInfo chatuserinfo2 : p_176018_2_)
    {
        this.field_152955_g.put(chatuserinfo2.displayName, chatuserinfo2);
    }
}
 

开发者ID:Notoh,
项目名称:DecompiledMinecraft,
代码行数:18,
代码来源:TwitchStream.java

示例2: GuiTwitchUserMode

点赞 2

import tv.twitch.chat.ChatUserInfo; //导入依赖的package包/类
public GuiTwitchUserMode(IStream streamIn, ChatUserInfo p_i1064_2_)
{
    this.stream = streamIn;
    this.field_152337_h = p_i1064_2_;
    this.field_152338_i = new ChatComponentText(p_i1064_2_.displayName);
    this.field_152332_r.addAll(func_152328_a(p_i1064_2_.modes, p_i1064_2_.subscriptions, streamIn));
}
 

开发者ID:Notoh,
项目名称:DecompiledMinecraft,
代码行数:8,
代码来源:GuiTwitchUserMode.java

示例3: func_152904_a

点赞 2

import tv.twitch.chat.ChatUserInfo; //导入依赖的package包/类
public void func_152904_a(ChatUserInfo[] p_152904_1_, ChatUserInfo[] p_152904_2_, ChatUserInfo[] p_152904_3_)
{
    ChatUserInfo[] achatuserinfo3 = p_152904_2_;
    int i = p_152904_2_.length;
    int j;
    ChatUserInfo chatuserinfo;

    for (j = 0; j < i; ++j)
    {
        chatuserinfo = achatuserinfo3[j];
        this.field_152955_g.remove(chatuserinfo.displayName);
    }

    achatuserinfo3 = p_152904_3_;
    i = p_152904_3_.length;

    for (j = 0; j < i; ++j)
    {
        chatuserinfo = achatuserinfo3[j];
        this.field_152955_g.put(chatuserinfo.displayName, chatuserinfo);
    }

    achatuserinfo3 = p_152904_1_;
    i = p_152904_1_.length;

    for (j = 0; j < i; ++j)
    {
        chatuserinfo = achatuserinfo3[j];
        this.field_152955_g.put(chatuserinfo.displayName, chatuserinfo);
    }
}
 

开发者ID:xtrafrancyz,
项目名称:Cauldron,
代码行数:32,
代码来源:TwitchStream.java

示例4: GuiTwitchUserMode

点赞 2

import tv.twitch.chat.ChatUserInfo; //导入依赖的package包/类
public GuiTwitchUserMode(IStream p_i1064_1_, ChatUserInfo p_i1064_2_)
{
    this.field_152333_s = p_i1064_1_;
    this.field_152337_h = p_i1064_2_;
    this.field_152338_i = new ChatComponentText(p_i1064_2_.displayName);
    this.field_152332_r.addAll(func_152328_a(p_i1064_2_.modes, p_i1064_2_.subscriptions, p_i1064_1_));
}
 

开发者ID:xtrafrancyz,
项目名称:Cauldron,
代码行数:8,
代码来源:GuiTwitchUserMode.java

示例5: func_152926_a

点赞 2

import tv.twitch.chat.ChatUserInfo; //导入依赖的package包/类
public ChatUserInfo func_152926_a(String p_152926_1_)
{
    return null;
}
 

开发者ID:Notoh,
项目名称:DecompiledMinecraft,
代码行数:5,
代码来源:NullStream.java

示例6: func_152926_a

点赞 2

import tv.twitch.chat.ChatUserInfo; //导入依赖的package包/类
public ChatUserInfo func_152926_a(String p_152926_1_)
{
    return (ChatUserInfo)this.field_152955_g.get(p_152926_1_);
}
 

开发者ID:Notoh,
项目名称:DecompiledMinecraft,
代码行数:5,
代码来源:TwitchStream.java

示例7: chatChannelUserChangeCallback

点赞 2

import tv.twitch.chat.ChatUserInfo; //导入依赖的package包/类
public void chatChannelUserChangeCallback(String p_chatChannelUserChangeCallback_1_, ChatUserInfo[] p_chatChannelUserChangeCallback_2_, ChatUserInfo[] p_chatChannelUserChangeCallback_3_, ChatUserInfo[] p_chatChannelUserChangeCallback_4_)
{
    for (int i = 0; i < p_chatChannelUserChangeCallback_3_.length; ++i)
    {
        int j = this.field_176044_d.indexOf(p_chatChannelUserChangeCallback_3_[i]);

        if (j >= 0)
        {
            this.field_176044_d.remove(j);
        }
    }

    for (int k = 0; k < p_chatChannelUserChangeCallback_4_.length; ++k)
    {
        int i1 = this.field_176044_d.indexOf(p_chatChannelUserChangeCallback_4_[k]);

        if (i1 >= 0)
        {
            this.field_176044_d.remove(i1);
        }

        this.field_176044_d.add(p_chatChannelUserChangeCallback_4_[k]);
    }

    for (int l = 0; l < p_chatChannelUserChangeCallback_2_.length; ++l)
    {
        this.field_176044_d.add(p_chatChannelUserChangeCallback_2_[l]);
    }

    try
    {
        if (ChatController.this.field_153003_a != null)
        {
            ChatController.this.field_153003_a.func_176018_a(this.field_176048_a, p_chatChannelUserChangeCallback_2_, p_chatChannelUserChangeCallback_3_, p_chatChannelUserChangeCallback_4_);
        }
    }
    catch (Exception exception)
    {
        ChatController.this.func_152995_h(exception.toString());
    }
}
 

开发者ID:Notoh,
项目名称:DecompiledMinecraft,
代码行数:42,
代码来源:ChatController.java

示例8: func_176018_a

点赞 1

import tv.twitch.chat.ChatUserInfo; //导入依赖的package包/类
void func_176018_a(String p_176018_1_, ChatUserInfo[] p_176018_2_, ChatUserInfo[] p_176018_3_, ChatUserInfo[] p_176018_4_); 

开发者ID:Notoh,
项目名称:DecompiledMinecraft,
代码行数:2,
代码来源:ChatController.java

示例9: func_152926_a

点赞 1

import tv.twitch.chat.ChatUserInfo; //导入依赖的package包/类
ChatUserInfo func_152926_a(String p_152926_1_); 

开发者ID:Notoh,
项目名称:DecompiledMinecraft,
代码行数:2,
代码来源:IStream.java

示例10: func_152904_a

点赞 1

import tv.twitch.chat.ChatUserInfo; //导入依赖的package包/类
void func_152904_a(ChatUserInfo[] p_152904_1_, ChatUserInfo[] p_152904_2_, ChatUserInfo[] p_152904_3_); 

开发者ID:xtrafrancyz,
项目名称:Cauldron,
代码行数:2,
代码来源:ChatController.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)