예제 #1
0
    void ForbidsNewPalyerBtn()
    {
        ForbidsNewPalyer = !ForbidsNewPalyer;

        mForbidsNewPalyerBg.SetActive(ForbidsNewPalyer);
        ServerAdministrator.SetJoinGame(ForbidsNewPalyer);
        if (ForbidsNewPalyer)
        {
            Debug.Log("ForbidsNewPalyer!!");
        }
        else
        {
            Debug.Log("AllowNewPalyer!!");
        }
        Reflsh(UIAdminstratorctr.mUIPersonelInfoList);
    }
예제 #2
0
    void RPC_S2C_JoinGame(uLink.BitStream stream, uLink.NetworkMessageInfo info)
    {
        bool allowJoin = stream.Read <bool>();

        ServerAdministrator.SetJoinGame(allowJoin);
    }