Beispiel #1
0
        public void testRemotePlayer()
        {
            IDataHolder dataHolder = new RemoteDatabase();

            dataHolder.Init();

            Player player = dataHolder.LoadPlayer("76561197994222727");

            Console.WriteLine("SteamID: " + player.ToString());
            Console.WriteLine("Inventory: " + player.Inventory.ToString());
            Console.WriteLine("Life: " + player.Life.ToString());
            Console.WriteLine("Inventory item count: " + player.Inventory.Items.Count);
        }
Beispiel #2
0
 public void setUp()
 {
     database = new RemoteDatabase();
     database.Init();
 }