void RefreshPlayerList()
 {
     if (ServerData.UserID == null || PlayerList.Instance.AdminToken == null)
     {
         return;
     }
     RequestAdminPlayerList.Send(ServerData.UserID, PlayerList.Instance.AdminToken);
 }
예제 #2
0
    public static RequestAdminPlayerList Send(string userId, string adminToken)
    {
        RequestAdminPlayerList msg = new RequestAdminPlayerList
        {
            Userid     = userId,
            AdminToken = adminToken
        };

        msg.Send();
        return(msg);
    }
예제 #3
0
        void RefreshPlayerList()
        {
            if (ServerData.UserID == null || (PlayerList.Instance.AdminToken == null && PlayerList.Instance.MentorToken == null))
            {
                return;
            }
            string MentorOrAdminToken = PlayerList.Instance.MentorToken;

            if (MentorOrAdminToken == null)
            {
                MentorOrAdminToken = PlayerList.Instance.AdminToken;
            }
            RequestAdminPlayerList.Send(ServerData.UserID, MentorOrAdminToken);
        }
예제 #4
0
		void RefreshPlayerList()
		{
			RequestAdminPlayerList.Send(ServerData.UserID, PlayerList.Instance.AdminToken);
		}
 private void RefreshPlayerList()
 {
     RequestAdminPlayerList.Send();
 }