Beispiel #1
0
 public string GetScoreboard()
 {
     return(DatabaseService.GetScoreboard());
 }
Beispiel #2
0
 public string login(string username, string password)
 {
     return(DatabaseService.LogInUser(username, password));
 }
Beispiel #3
0
 public string UpdateUser(string username, string userbio, string userimage)
 {
     return(DatabaseService.UpdateUser(username, userbio, userimage));
 }
Beispiel #4
0
 public string GetUserStats(string username)
 {
     return(DatabaseService.GetUserStats(username));
 }
Beispiel #5
0
        // Interaction with Database

        public string setUser(string username, string password)
        {
            return(DatabaseService.InsertUser(username, password));
        }
Beispiel #6
0
 public string deleteUser(string username)
 {
     return(DatabaseService.DeleteUser(username));
 }
Beispiel #7
0
 public string BuyCard(string newcardowner, int cardID)
 {
     return(DatabaseService.BuyACard(newcardowner, cardID));
 }
Beispiel #8
0
 public string ShowDeckCards(string username)
 {
     return(DatabaseService.GetDeckCards(username));
 }
Beispiel #9
0
 public string PutCardToTrade(string cardowner, int cardID, int price)
 {
     return(DatabaseService.CreateTradeDeal(cardowner, price, cardID));
 }
Beispiel #10
0
 public string DeleteTradeDeal(string cardowner, int cardID)
 {
     return(DatabaseService.DeleteTradeDeal(cardowner, cardID));
 }
Beispiel #11
0
 public string ShowTradesForUser(string username)
 {
     return(DatabaseService.ShowALLCardsForSAleForUSer(username));
 }
Beispiel #12
0
 public string ShowAllTradings()
 {
     return(DatabaseService.ShowALLCardsForSAle());
 }
Beispiel #13
0
 public string MoveCardToStack(int cardID, string cardowner)
 {
     return(DatabaseService.MoveCardToStack(cardID, cardowner));
 }
Beispiel #14
0
 public string logout(string username, string password)
 {
     return(DatabaseService.LogOutUser(username, password));
 }
Beispiel #15
0
        //Battle

        public string Battle(string username)
        {
            return(DatabaseService.SearchForBattle(username));
        }
Beispiel #16
0
        public string acuirePackage(string username)
        {
            Package package = createPackage();

            return(DatabaseService.OpenPackage(username, package));
        }
Beispiel #17
0
 public string ShowUserStackcards(string username)
 {
     return(DatabaseService.GetStackCards(username));
 }