SES-160 log fix
This commit is contained in:
parent
9d36c16600
commit
123d1673b6
@ -17,7 +17,6 @@ export class SendMessageActionComponent implements OnInit {
|
|||||||
ngOnInit() {}
|
ngOnInit() {}
|
||||||
|
|
||||||
SendMessage(message: string) {
|
SendMessage(message: string) {
|
||||||
debugger;
|
|
||||||
this.signalRService.SendMessageToPlayer(this.characterId, message);
|
this.signalRService.SendMessageToPlayer(this.characterId, message);
|
||||||
this.Close();
|
this.Close();
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,6 @@ export class GameMasterCharacterActionsDialogComponent implements OnInit {
|
|||||||
this.characterId = this.data.characterid;
|
this.characterId = this.data.characterid;
|
||||||
this.characterName = this.data.characterName;
|
this.characterName = this.data.characterName;
|
||||||
this.inputs = { characterId: this.characterId };
|
this.inputs = { characterId: this.characterId };
|
||||||
console.log(this.inputs);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ChangeActionComponent(componentName: string): void {
|
ChangeActionComponent(componentName: string): void {
|
||||||
|
@ -116,7 +116,6 @@ export class GameMasterTurntrackerComponent implements OnInit, OnDestroy {
|
|||||||
);
|
);
|
||||||
result.forEach((ele) => {
|
result.forEach((ele) => {
|
||||||
if (monstersOnList.map((e) => e.name).includes(ele.name)) {
|
if (monstersOnList.map((e) => e.name).includes(ele.name)) {
|
||||||
debugger;
|
|
||||||
let maxCurrentId = Math.max(
|
let maxCurrentId = Math.max(
|
||||||
...monstersOnList.map((e) => e.monsterId),
|
...monstersOnList.map((e) => e.monsterId),
|
||||||
0
|
0
|
||||||
|
@ -46,7 +46,6 @@ export class PlayerDashboardComponent implements OnInit {
|
|||||||
.GetCharacterBasicInfo(id)
|
.GetCharacterBasicInfo(id)
|
||||||
.pipe(first())
|
.pipe(first())
|
||||||
.subscribe((result) => {
|
.subscribe((result) => {
|
||||||
console.log(result);
|
|
||||||
this.characterName = result.name;
|
this.characterName = result.name;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -53,16 +53,10 @@ export class ShopkeeperService {
|
|||||||
CreateShopkeeper(
|
CreateShopkeeper(
|
||||||
shopkeeperModel: ShopkeeperWithItemsViewModel
|
shopkeeperModel: ShopkeeperWithItemsViewModel
|
||||||
): Observable<SuccessResponse> {
|
): Observable<SuccessResponse> {
|
||||||
const params = new HttpParams().set(
|
|
||||||
'shopkeeperWithItemsViewModel',
|
|
||||||
JSON.stringify(shopkeeperModel)
|
|
||||||
);
|
|
||||||
const httpOptions = {
|
const httpOptions = {
|
||||||
headers: new HttpHeaders({ 'Content-Type': 'application/json' }),
|
headers: new HttpHeaders({ 'Content-Type': 'application/json' }),
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log(params);
|
|
||||||
|
|
||||||
return this.http
|
return this.http
|
||||||
.post<Either<SuccessResponse, ErrorResponse>>(
|
.post<Either<SuccessResponse, ErrorResponse>>(
|
||||||
this.baseUrl + 'createNewShopkeeper',
|
this.baseUrl + 'createNewShopkeeper',
|
||||||
|
Loading…
Reference in New Issue
Block a user