Ejemplo n.º 1
0
        public string IsPlayerAlreadyIn(string json_userID)

        {
            long userID = long.Parse(JSonUtil_Server.GetSingleValueFromJson(json_userID, "userID"));

            TPlayerDataObj tPlayer = new TPlayerDataObj();

            tPlayer.UserID = userID;


            string retValue = new TPlayersReps().IsPlayerAlreadyIn(tPlayer);

            return(retValue);
        }
Ejemplo n.º 2
0
        public string SetReadyToPlay(string json_userID) //OK

        {
            long userID = long.Parse(JSonUtil_Server.GetSingleValueFromJson(json_userID, "userID"));

            TPlayerDataObj tPlayer = new TPlayerDataObj();

            tPlayer.UserID = userID;


            new TPlayersReps().SetReadyToPlay(tPlayer);

            return(string.Empty);
        }