-
Notifications
You must be signed in to change notification settings - Fork 517
Open
Labels
Milestone
Description
Proof of concept:
class JobFailureHandler : ClientMsgHandler
{
public override void HandleMsg(IPacketMsg packetMsg)
{
if (packetMsg.MsgType != EMsg.DestJobFailed)
{
return;
}
var failure = new ClientMsg<MsgClientJustStrings>(packetMsg);
var callback = new DestinationJobFailedCallback(failure.TargetJobID);
steamClient.PostCallback(callback);
Console.WriteLine("Job failed!");
}
}
public class DestinationJobFailedCallback : CallbackMsg
{
public DestinationJobFailedCallback(JobID jobID)
{
this.JobID = jobID;
}
}
Only using MsgClientJustStrings
as a placeholder. Actual response seems to have a 1-byte body, so far I've only seen it set to 0x00
.
Not sure how this would work with #170.