Exemple #1
0
        public static string SetInitRole(string playerHash, string roomHash)
        {
            CRoom r = CRoom.GetRoom(roomHash);

            if (r == null)
            {
                return(null);
            }

            r.UpdatePlayerRoles(playerHash);
            return("OK");
        }