mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 08:18:49 -07:00
GetAssetVersions placeholder + WoJS bugfixes
This commit is contained in:
parent
1dfcc655eb
commit
3e06d89cb2
@ -602,9 +602,7 @@ public class ContentController : Controller {
|
||||
// Find the dragon
|
||||
Dragon? dragon = viking.Dragons.FirstOrDefault(e => e.Id == petData.RaisedPetID);
|
||||
if (dragon is null) {
|
||||
return Ok(new SetRaisedPetResponse {
|
||||
RaisedPetSetResult = RaisedPetSetResult.Invalid
|
||||
});
|
||||
return Ok(false);
|
||||
}
|
||||
|
||||
dragon.RaisedPetData = XmlUtil.SerializeXml(UpdateDragon(dragon, petData));
|
||||
@ -1576,7 +1574,7 @@ public class ContentController : Controller {
|
||||
avatarData.DisplayName = displayNamesService.GetName(firstNameID, secondNameID, thirdNameID);
|
||||
viking.AvatarSerialized = XmlUtil.SerializeXml(avatarData);
|
||||
ctx.SaveChanges();
|
||||
return Ok();
|
||||
return Ok(true);
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
|
@ -61,6 +61,12 @@ public class ItemStoreController : Controller {
|
||||
return Ok(XmlUtil.ReadResourceXmlString("rankattrib"));
|
||||
}
|
||||
|
||||
[Route("ItemStoreWebService.asmx/GetAssetVersions")]
|
||||
public IActionResult GetAssetVersions() {
|
||||
// TODO return AssetVersion[]
|
||||
return Ok(null);
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
[Produces("application/xml")]
|
||||
[Route("ItemStoreWebService.asmx/GetAnnouncementsByUser")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user