feat(mosstank): add VTank-style automation PoC
This commit is contained in:
parent
f6fe0f2a4f
commit
4e6e9bc9d9
212 changed files with 49462 additions and 416 deletions
|
|
@ -3268,6 +3268,19 @@ public sealed class WorldSession : IDisposable
|
|||
SendGameAction(InventoryActions.BuildStackableSplitTo3D(seq, stackGuid, amount));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Send retail CreateTinkeringTool (0x027D), the salvage operation used by
|
||||
/// gmSalvageUI and VTank.
|
||||
/// </summary>
|
||||
public void SendSalvage(uint toolGuid, IReadOnlyList<uint> itemGuids)
|
||||
{
|
||||
uint seq = NextGameActionSequence();
|
||||
SendGameAction(InventoryActions.BuildCreateTinkeringTool(
|
||||
seq,
|
||||
toolGuid,
|
||||
itemGuids));
|
||||
}
|
||||
|
||||
/// <summary>Send retail QueryHealth (0x01BF). Server replies UpdateHealth (0x01C0).</summary>
|
||||
/// <remarks>
|
||||
/// Retail anchor: <c>CM_Combat::Event_QueryHealth</c> / <c>gmToolbarUI::HandleSelectionChanged:198635</c>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue