SES-160 shop on gm and player screen #85
@ -17,7 +17,6 @@ export class SendMessageActionComponent implements OnInit {
|
||||
ngOnInit() {}
|
||||
|
||||
SendMessage(message: string) {
|
||||
debugger;
|
||||
this.signalRService.SendMessageToPlayer(this.characterId, message);
|
||||
this.Close();
|
||||
}
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -46,7 +46,6 @@ export class PlayerDashboardComponent implements OnInit {
|
||||
.GetCharacterBasicInfo(id)
|
||||
.pipe(first())
|
||||
.subscribe((result) => {
|
||||
console.log(result);
|
||||
this.characterName = result.name;
|
||||
});
|
||||
});
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user