Example #1
0
    void OnClick()
    {
        MaskWindow.LockUI();
        ChatGetPlayerInfoFPort fport = FPortManager.Instance.getFPort("ChatGetPlayerInfoFPort") as ChatGetPlayerInfoFPort;

        fport.access(app.uid, null, null, PvpPlayerWindow.FROM_OTHER);
    }
Example #2
0
    //---------------------------end-----------------------------

    private void openUserInfoWindow(string uid)
    {
        ChatGetPlayerInfoFPort fport = FPortManager.Instance.getFPort("ChatGetPlayerInfoFPort") as ChatGetPlayerInfoFPort;

        //fport.access (uid, null, null, PvpPlayerWindow.FROM_RANK);
        fport.access(uid, 10, null, null, PvpPlayerWindow.FROM_RANK);
    }
Example #3
0
    private void getPlayerInfoFPort(string _uid)
    {
        ChatGetPlayerInfoFPort fport = FPortManager.Instance.getFPort("ChatGetPlayerInfoFPort") as ChatGetPlayerInfoFPort;

        //fport.access(_uid,null,null,PvpPlayerWindow.FROM_ARENA);
        fport.access(_uid, 10, null, null, PvpPlayerWindow.FROM_ARENA);
    }
Example #4
0
    private void openUserInfoWindow(string uid)
    {
        if (uid == UserManager.Instance.self.uid)
        {
            MaskWindow.UnlockUI();
            return;
        }
        //新手引导不能点
        if (GuideManager.Instance.isLessThanStep(GuideGlobal.NEWOVERSID))
        {
            MaskWindow.UnlockUI();
            return;
        }
        ChatGetPlayerInfoFPort fport = FPortManager.Instance.getFPort("ChatGetPlayerInfoFPort") as ChatGetPlayerInfoFPort;

        fport.access(uid, PvpPlayerWindow.PVP_TEAM, PvpPlayerWindow.PVE_TEAM_TAPE, null, PvpPlayerWindow.FROM_FRIENDLOOK);
    }
 public override void DoClickEvent()
 {
     base.DoClickEvent();
     if (fatherWindow  is GuildInfoWindow)
     {
         ChatGetPlayerInfoFPort fport = FPortManager.Instance.getFPort("ChatGetPlayerInfoFPort") as ChatGetPlayerInfoFPort;
         fport.access(uid, () => {
             UiManager.Instance.hideWindowByName("guildInfoWindow");
         }, () => {
             UiManager.Instance.openWindow <GuildInfoWindow>();
         }, PvpPlayerWindow.FROM_UNION);
     }
     else
     {
         ChatGetPlayerInfoFPort fport = FPortManager.Instance.getFPort("ChatGetPlayerInfoFPort") as ChatGetPlayerInfoFPort;
         fport.access(uid, null, PvpPlayerWindow.FROM_UNION);
     }
 }
Example #6
0
    //发uid到后台获取人物数据
    void getPlayerInfoFPort(string _uid)
    {
        ChatGetPlayerInfoFPort fport = FPortManager.Instance.getFPort("ChatGetPlayerInfoFPort") as ChatGetPlayerInfoFPort;

        fport.access(_uid, null, null, PvpPlayerWindow.FROM_CHAT);
    }
    private void getPlayerInfoFPort(string _uid)
    {
        ChatGetPlayerInfoFPort fport = FPortManager.Instance.getFPort("ChatGetPlayerInfoFPort") as ChatGetPlayerInfoFPort;

        fport.access(_uid, reLoadFriendWin, PvpPlayerWindow.FROM_MISSION_NPC);
    }
Example #8
0
    private void openUserInfoWindow(string uid)
    {
        ChatGetPlayerInfoFPort fport = FPortManager.Instance.getFPort("ChatGetPlayerInfoFPort") as ChatGetPlayerInfoFPort;

        fport.access(uid, finishWindow, null, PvpPlayerWindow.FROM_ARENA);
    }