Ejemplo n.º 1
0
        public async Task GetShopRoles()
        {
            var shopRoleHandler = new ShopRoleHandler();

            shopRoleHandler.Initialize(Context);

            await shopRoleHandler.GetAllShopRoles();
        }
Ejemplo n.º 2
0
        public async Task BuyRole(SocketRole role)
        {
            var shopRoleHandler = new ShopRoleHandler();

            shopRoleHandler.Initialize(Context);

            await shopRoleHandler.BuyItem(role);
        }
Ejemplo n.º 3
0
        public async Task ShopRoleInfo(SocketRole role)
        {
            var shopRoleHandler = new ShopRoleHandler();

            shopRoleHandler.Initialize(Context);

            await shopRoleHandler.GetShopRoleInfo(role);
        }
Ejemplo n.º 4
0
        public async Task AddShopRole(SocketRole role, int cost, int level = 0)
        {
            var shopRoleHandler = new ShopRoleHandler();

            shopRoleHandler.Initialize(Context);

            await shopRoleHandler.AddShopRole(role, cost, level);
        }