chore: Bumps MailKit to 4.7.0 & Cleans up bad code formatting (#1857)

This commit is contained in:
Kamron Batman 2024-07-04 19:55:14 -07:00 committed by GitHub
parent 0374b74f67
commit c914d3d722
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 9 additions and 9 deletions

View file

@ -129,7 +129,7 @@ public partial class KronusScroll : QuestItem
var hue = Utility.RandomList(0x481, 0x482, 0x489, 0x497, 0x66D); var hue = Utility.RandomList(0x481, 0x482, 0x489, 0x497, 0x66D);
Effects.SendMovingEffect(map, 0x36D4, from, to,0, 0, false, true, hue); Effects.SendMovingEffect(map, 0x36D4, from, to, 0, 0, false, true, hue);
} }
} }

View file

@ -398,7 +398,7 @@ public partial class SoulStone : Item, ISecurable
AddButton(10, 360, 0xFA5, 0xFA6, 2); AddButton(10, 360, 0xFA5, 0xFA6, 2);
// Activate the stone. I am ready to transfer the skill points to it. // Activate the stone. I am ready to transfer the skill points to it.
AddHtmlLocalized(45,362,450,20,1070720,0x7FFF); AddHtmlLocalized(45, 362, 450, 20, 1070720, 0x7FFF);
AddButton(10, 380, 0xFA5, 0xFA6, 1); AddButton(10, 380, 0xFA5, 0xFA6, 1);
AddHtmlLocalized(45, 382, 450, 20, 1062279, 0x7FFF); // No, let me make another selection. AddHtmlLocalized(45, 382, 450, 20, 1062279, 0x7FFF); // No, let me make another selection.
@ -542,12 +542,12 @@ public partial class SoulStone : Item, ISecurable
AddButton(10, 360, 0xFA5, 0xFA6, 2); AddButton(10, 360, 0xFA5, 0xFA6, 2);
// Activate the stone. I am ready to retrieve the skill points from it. // Activate the stone. I am ready to retrieve the skill points from it.
AddHtmlLocalized(45,362,450,20,1070719,0x7FFF); AddHtmlLocalized(45, 362, 450, 20, 1070719, 0x7FFF);
AddButton(10, 380, 0xFA5, 0xFA6, 1); AddButton(10, 380, 0xFA5, 0xFA6, 1);
// Remove all skill points from this stone and DO NOT absorb them. // Remove all skill points from this stone and DO NOT absorb them.
AddHtmlLocalized(45,382,450,20,1070723,0x7FFF); AddHtmlLocalized(45, 382, 450, 20, 1070723, 0x7FFF);
AddButton(10, 410, 0xFB1, 0xFB2, 0); AddButton(10, 410, 0xFB1, 0xFB2, 0);
AddHtmlLocalized(45, 412, 450, 20, 1060051, 0x7FFF); // CANCEL AddHtmlLocalized(45, 412, 450, 20, 1060051, 0x7FFF); // CANCEL

View file

@ -102,7 +102,7 @@ namespace Server.Items
public static ForceArrowInfo GetInfo(Mobile attacker, Mobile defender) public static ForceArrowInfo GetInfo(Mobile attacker, Mobile defender)
{ {
if (_table.TryGetValue(attacker,out var list)) if (_table.TryGetValue(attacker, out var list))
{ {
foreach (ForceArrowInfo info in list) foreach (ForceArrowInfo info in list)
{ {

View file

@ -43,7 +43,7 @@ namespace Server.Items
public static void OnHit(Mobile from, Mobile target) public static void OnHit(Mobile from, Mobile target)
{ {
if (_table.TryGetValue(from,out var t)) if (_table.TryGetValue(from, out var t))
{ {
t.Hits++; t.Hits++;
t.LastHit = Core.Now; t.LastHit = Core.Now;

View file

@ -246,7 +246,7 @@ public abstract partial class BaseMount : BaseCreature, IMount
if (Poisoned) if (Poisoned)
{ {
// This mount is too ill to ride. // This mount is too ill to ride.
PrivateOverheadMessage(MessageType.Regular,0x3B2,1049692,from.NetState); PrivateOverheadMessage(MessageType.Regular, 0x3B2, 1049692, from.NetState);
} }
else else
{ {

View file

@ -91,7 +91,7 @@ namespace Server.Mobiles
if (Rider.CurePoison(this)) if (Rider.CurePoison(this))
{ {
// Your mount senses you are in danger and aids you with magic. // Your mount senses you are in danger and aids you with magic.
Rider.LocalOverheadMessage(MessageType.Regular,0x3B2,1080039); Rider.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1080039);
Rider.FixedParticles(0x373A, 10, 15, 5012, EffectLayer.Waist); Rider.FixedParticles(0x373A, 10, 15, 5012, EffectLayer.Waist);
Rider.PlaySound(0x1E0); // Cure spell effect. Rider.PlaySound(0x1E0); // Cure spell effect.
Rider.PlaySound(0xA9); // Unicorn's whinny. Rider.PlaySound(0xA9); // Unicorn's whinny.

View file

@ -38,7 +38,7 @@
<IncludeInPackage>false</IncludeInPackage> <IncludeInPackage>false</IncludeInPackage>
</ProjectReference> </ProjectReference>
<PackageReference Include="LibDeflate.Bindings" Version="1.0.2.120" /> <PackageReference Include="LibDeflate.Bindings" Version="1.0.2.120" />
<PackageReference Include="MailKit" Version="4.6.0" /> <PackageReference Include="MailKit" Version="4.7.0" />
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" Version="8.0.0" /> <PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" Version="8.0.0" />
<PackageReference Include="CommunityToolkit.HighPerformance" Version="8.2.2" /> <PackageReference Include="CommunityToolkit.HighPerformance" Version="8.2.2" />
<PackageReference Include="Argon2.Bindings" Version="1.16.1" /> <PackageReference Include="Argon2.Bindings" Version="1.16.1" />