mirror of
https://github.com/mekael/WFClassic.git
synced 2026-05-25 00:18:46 -05:00
feat: upgrade packages to .net9
This commit is contained in:
@@ -9,6 +9,8 @@ namespace WFClassic.Web.Controllers
|
||||
[Route("/api/createGuild.php")]
|
||||
public ActionResult CreateGuild([FromQuery] Guid accountId, [FromQuery] long nonce)
|
||||
{
|
||||
Console.WriteLine("In CreateGuild");
|
||||
|
||||
return Ok();
|
||||
}
|
||||
|
||||
@@ -16,13 +18,17 @@ namespace WFClassic.Web.Controllers
|
||||
[Route("/api/removeFromGuild.php")]
|
||||
public ActionResult RemoveFromGuild([FromQuery] Guid accountId, [FromQuery] long nonce)
|
||||
{
|
||||
Console.WriteLine("In removeFromGuild");
|
||||
|
||||
return new JsonResult("{}");
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
[HttpGet]
|
||||
[Route("/api/addToGuild.php")]
|
||||
public ActionResult AddToGuild([FromQuery] Guid accountId, [FromQuery] long nonce)
|
||||
{
|
||||
//GET /api/addToGuild.php?accountId=c64c1e01-34d6-4311-ae40-7baa5eba3016&nonce=1361696396955615402&steamId=0&guildId=522656733f9a5b1718f1b5ab&userName=beer
|
||||
Console.WriteLine("In AddToGuild");
|
||||
return new JsonResult("{}");
|
||||
}
|
||||
|
||||
@@ -30,6 +36,8 @@ namespace WFClassic.Web.Controllers
|
||||
[Route("/api/changeGuildRank.php")]
|
||||
public ActionResult ChangeGuildRank([FromQuery] Guid accountId, [FromQuery] long nonce)
|
||||
{
|
||||
Console.WriteLine("In ChangeGuildRank");
|
||||
|
||||
return new JsonResult("{}");
|
||||
}
|
||||
|
||||
@@ -37,6 +45,8 @@ namespace WFClassic.Web.Controllers
|
||||
[Route("/api/confirmGuildInvitation.php")]
|
||||
public ActionResult ConfirmGuildInvitation([FromQuery] Guid accountId, [FromQuery] long nonce)
|
||||
{
|
||||
Console.WriteLine("In ConfirmGuildInvitation");
|
||||
|
||||
return new JsonResult("{}");
|
||||
}
|
||||
|
||||
@@ -44,22 +54,58 @@ namespace WFClassic.Web.Controllers
|
||||
[Route("/api/getGuild.php")]
|
||||
public string GetGuild([FromQuery] Guid accountId, [FromQuery] long nonce)
|
||||
{
|
||||
Console.WriteLine("In GetGuild");
|
||||
|
||||
var cat = @"
|
||||
{
|
||||
""Name"" :""cats"",
|
||||
""_id"": {
|
||||
""$id"": ""522656733f9a5b1718f1b5ab""
|
||||
},
|
||||
""MemberIds"": []
|
||||
""_id"": {
|
||||
""$id"": ""522656733f9a5b1718f1b5ab""
|
||||
},
|
||||
""Members"": [
|
||||
{
|
||||
""_id"": {
|
||||
""$id"": ""4FAD6BF1-5BB5-4C8F-9078-92A2827E221D""
|
||||
},
|
||||
""DisplayName"" :""beer"",
|
||||
""Status"": 0,
|
||||
""ActiveAvatarImageType"" :""/Lotus/Types/StoreItems/AvatarImages/AvatarImagePack1"",
|
||||
""Rank"" : 2
|
||||
},
|
||||
{
|
||||
""_id"": {
|
||||
""$id"": ""C64C1E01-34D6-4311-AE40-7BAA5EBA3016""
|
||||
},
|
||||
""DisplayName"" :""mekael"",
|
||||
""Status"": 0,
|
||||
""ActiveAvatarImageType"" :""/Lotus/Types/StoreItems/AvatarImages/AvatarImagePack1"",
|
||||
""Rank"" : 1
|
||||
},
|
||||
|
||||
]
|
||||
}
|
||||
|
||||
";
|
||||
|
||||
cat = "{}";
|
||||
return cat;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
accountId: Types.ObjectId;
|
||||
guildId: Types.ObjectId;
|
||||
status: number;
|
||||
rank: number;
|
||||
RequestMsg?: string;
|
||||
RequestExpiry?: Date;
|
||||
RegularCreditsContributed?: number;
|
||||
PremiumCreditsContributed?: number;
|
||||
MiscItemsContributed?: IMiscItem[];
|
||||
ShipDecorationsContributed?: ITypeCount[];
|
||||
*/
|
||||
|
||||
|
||||
//Ranks
|
||||
//Members
|
||||
/*
|
||||
|
||||
@@ -11,14 +11,16 @@ namespace WFClassic.Web.Controllers
|
||||
{
|
||||
var response = @"{
|
||||
""Messages"": [
|
||||
|
||||
{
|
||||
""SenderId"": {
|
||||
""$id"":""sdfs""
|
||||
""$id"":""4FAD6BF1-5BB5-4C8F-9078-92A2827E221D""
|
||||
},
|
||||
""Content"":""sdfsd""
|
||||
""Content"":""asdfhjasldfkjlkj""
|
||||
}
|
||||
]
|
||||
}";
|
||||
response = "{}";
|
||||
return response;
|
||||
}
|
||||
|
||||
@@ -26,6 +28,9 @@ namespace WFClassic.Web.Controllers
|
||||
[Route("/api/sendMessage.php")]
|
||||
public ActionResult SendMessage([FromQuery] Guid accountId, [FromQuery] long nonce)
|
||||
{
|
||||
|
||||
Console.WriteLine("in SendMessage");
|
||||
|
||||
return new JsonResult("{}");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -181,6 +181,7 @@ namespace WFClassic.Web.Controllers
|
||||
[Route("/api/goals.php")]
|
||||
public ActionResult Goals([FromQuery] Guid accountId, [FromQuery] long nonce)
|
||||
{
|
||||
Console.WriteLine("In Goals");
|
||||
return new JsonResult("{}");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,17 +8,17 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="BouncyCastle.Cryptography" Version="2.5.1" />
|
||||
<PackageReference Include="FluentValidation" Version="11.11.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="8.0.7" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="8.0.11" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="8.0.11" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.11" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.11" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.11">
|
||||
<PackageReference Include="FluentValidation" Version="12.0.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="9.0.4" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="9.0.4" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="9.0.4" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="9.0.4" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.4" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.4">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.7" />
|
||||
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="9.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user