예제 #1
0
    /// <summary>
    /// 添加玩家点击
    /// </summary>
    public void OnAddPlayersClick()
    {
        ClubAddWidget view = GetWidget <ClubAddWidget>("Windows/ClubView/ClubAddWidget", mContent);

        view.SetData(eClubAddType.player, (id) =>
        {
            Global.Inst.GetController <ClubController>().SendAddUser(id);
        });
    }
예제 #2
0
    /// <summary>
    /// 添加联盟点击
    /// </summary>
    public void OnAddUnionClick()
    {
        ClubAddWidget view = GetWidget <ClubAddWidget>("Windows/ClubView/ClubAddWidget", mContent);

        view.SetData(eClubAddType.club, (id) =>
        {
            Global.Inst.GetController <ClubController>().SendAddClubConpany(id);
        });
    }
예제 #3
0
    public void OnInviteClick()
    {
        ClubAddWidget view = GetWidget <ClubAddWidget>("Windows/ClubView/ClubAddWidget", Global.Inst.GetController <ClubController>().mView.transform);

        view.SetData(eClubAddType.club, (id) =>
        {
            Global.Inst.GetController <ClubController>().SendAddClubConpany(id);
        });
    }