SES-160 shop on gm and player screen #85

Merged
s426128 merged 11 commits from SES-160 into dev 2021-01-23 21:50:04 +01:00
5 changed files with 0 additions and 10 deletions
Showing only changes of commit 123d1673b6 - Show all commits

View File

@ -17,7 +17,6 @@ export class SendMessageActionComponent implements OnInit {
ngOnInit() {}
SendMessage(message: string) {
debugger;
this.signalRService.SendMessageToPlayer(this.characterId, message);
this.Close();
}

View File

@ -31,7 +31,6 @@ export class GameMasterCharacterActionsDialogComponent implements OnInit {
this.characterId = this.data.characterid;
this.characterName = this.data.characterName;
this.inputs = { characterId: this.characterId };
console.log(this.inputs);
}
ChangeActionComponent(componentName: string): void {

View File

@ -116,7 +116,6 @@ export class GameMasterTurntrackerComponent implements OnInit, OnDestroy {
);
result.forEach((ele) => {
if (monstersOnList.map((e) => e.name).includes(ele.name)) {
debugger;
let maxCurrentId = Math.max(
...monstersOnList.map((e) => e.monsterId),
0

View File

@ -46,7 +46,6 @@ export class PlayerDashboardComponent implements OnInit {
.GetCharacterBasicInfo(id)
.pipe(first())
.subscribe((result) => {
console.log(result);
this.characterName = result.name;
});
});

View File

@ -53,16 +53,10 @@ export class ShopkeeperService {
CreateShopkeeper(
shopkeeperModel: ShopkeeperWithItemsViewModel
): Observable<SuccessResponse> {
const params = new HttpParams().set(
'shopkeeperWithItemsViewModel',
JSON.stringify(shopkeeperModel)
);
const httpOptions = {
headers: new HttpHeaders({ 'Content-Type': 'application/json' }),
};
console.log(params);
return this.http
.post<Either<SuccessResponse, ErrorResponse>>(
this.baseUrl + 'createNewShopkeeper',