M Core/NosSmooth.Game/Errors/NotInRangeError.cs => Core/NosSmooth.Game/Errors/NotInRangeError.cs +7 -0
@@ 9,6 9,13 @@ using Remora.Results;
namespace NosSmooth.Game.Errors;
+/// <summary>
+/// The given position is not in range of the entity.
+/// </summary>
+/// <param name="Entity">The entity.</param>
+/// <param name="EntityPosition">The entity's position.</param>
+/// <param name="TargetPosition">The target position.</param>
+/// <param name="Range">The maximum range.</param>
public record NotInRangeError
(
string Entity,
M Packets/NosSmooth.PacketSerializer.Abstractions/NullableWrapper.cs => Packets/NosSmooth.PacketSerializer.Abstractions/NullableWrapper.cs +5 -0
@@ 29,6 29,11 @@ public record struct NullableWrapper<T>(T? Value)
return wrapper.Value;
}
+ /// <summary>
+ /// Wrap the value in nullable wrapper.
+ /// </summary>
+ /// <param name="value">The value to wrap.</param>
+ /// <returns>The wrapped value.</returns>
public static implicit operator NullableWrapper<T>(T? value)
{
return new NullableWrapper<T>(value);
M Packets/NosSmooth.Packets/Client/Battle/UsePartnerSkillPacket.cs => Packets/NosSmooth.Packets/Client/Battle/UsePartnerSkillPacket.cs +1 -0
@@ 15,6 15,7 @@ namespace NosSmooth.Packets.Client.Battle;
/// <param name="MateTransportId">The pet skill id.</param>
/// <param name="TargetEntityType">The target entity type.</param>
/// <param name="TargetId">The target id.</param>
+/// <param name="SkillSlot">The slot of the skill.</param>
/// <param name="MapX">The x coordinate to target to, present if the skill is area skill.</param>
/// <param name="MapY">The y coordinate to target to, present if the skill is area skill.</param>
[PacketHeader("u_ps", PacketSource.Client)]