Ejemplo n.º 1
0
    // 显示喇叭
    public static void ShowLoudspeaker(EMChatTipID tipID, string param = "")
    {
        gameview_show_loudspeaker msgInfo = new gameview_show_loudspeaker();

        msgInfo.nIndexId = (int)tipID;
        msgInfo.param    = param;

        ViewEventHelper.Instance.SendCommand <gameview_show_loudspeaker>(GameLogicDef.GVIEWCMD_SHOW_LOUDSPEAKER, ref msgInfo);
    }
Ejemplo n.º 2
0
    // 显示系统消息
    public static void ShowSystemMessage(EMChatTipID tipID, string param = "")
    {
        gameview_show_system_message msgInfo = new gameview_show_system_message();

        msgInfo.nIndexId = (int)tipID;
        msgInfo.param    = param;

        ViewEventHelper.Instance.SendCommand <gameview_show_system_message>(GameLogicDef.GVIEWCMD_SHOW_SYSTEM_MESSAGE, ref msgInfo);
    }