private async UniTask DestroyBuildingEntityRoutine(string id)
 {
     await DbServiceClient.DeleteBuildingAsync(new DeleteBuildingReq()
     {
         MapName    = CurrentMapInfo.Id,
         BuildingId = id
     });
 }
コード例 #2
0
 private async UniTask DestroyBuildingEntityRoutine(string id)
 {
     await DbServiceClient.DeleteBuildingAsync(new DeleteBuildingReq()
     {
         MapName    = Assets.onlineScene.SceneName,
         BuildingId = id
     });
 }
 public override void DestroyBuildingEntity(string id)
 {
     base.DestroyBuildingEntity(id);
     DbServiceClient.DeleteBuildingAsync(new DeleteBuildingReq()
     {
         MapName    = Assets.onlineScene.SceneName,
         BuildingId = id
     });
 }