feat: add force skill using
This commit is contained in:
15
Client/Domain/DTO/UseSkillParams.cs
Normal file
15
Client/Domain/DTO/UseSkillParams.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Client.Domain.DTO
|
||||
{
|
||||
public struct UseSkillParams
|
||||
{
|
||||
public uint skillId;
|
||||
public bool isForced;
|
||||
public bool isShiftPressed;
|
||||
}
|
||||
}
|
@@ -111,7 +111,14 @@ namespace Client.Domain.Service
|
||||
return;
|
||||
}
|
||||
|
||||
SendMessage(OutgoingMessageTypeEnum.UseSkill, id);
|
||||
var data = new UseSkillParams
|
||||
{
|
||||
skillId = id,
|
||||
isForced = isForced,
|
||||
isShiftPressed = isShiftPressed
|
||||
};
|
||||
|
||||
SendMessage(OutgoingMessageTypeEnum.UseSkill, data);
|
||||
}
|
||||
|
||||
public void RequestUseItem(uint id)
|
||||
|
Reference in New Issue
Block a user