-
Notifications
You must be signed in to change notification settings - Fork 42
AGENT_CAS_CLIENT
DummkopfOfHachtenduden edited this page Aug 21, 2016
·
1 revision
0x6314 - CLIENT_AGENT_CAS_CLIENT_REQUEST
1 byte casClientAction
switch(CASClientAction)
{
case CASClientAction.SubmitHelpRequest:
2 ushort ShardID
1 byte RequestedCategory
2 ushort MailAdress.Length
* string MailAdress
4 uint UserJID
2 ushort CharName.Length
* string CharName
2 ushort TgtCharName.Length
* string TgtCharName
2 ushort Statement.Length
* string Statement
2 ushort ChatLog.Length
* string ChatLog
break;
case CASClientAction.RequestCompletedHelpRequests:
2 ushort CharName.Length
* string CharName
break;
case CASClientAction.DeleteCompletedHelpRequest:
4 uint Serial
break;
case CASClientAction.AcceptGMCall:
case CASClientAction.RefuseGMCall:
4 uint CallID
break;
}
0xA314 - SERVER_AGENT_CAS_CLIENT_RESPONSE
1 byte casClientAction
1 byte result
if(result == 0x01)
{
switch(casClientAction)
{
case CASClientAction.RequestCompletedRequests:
1 byte completedHelpRequestCount
foreach(helpRequest)
{
4 uint helpRequest.Serial
20 char[] helpRequest.ProcessedGM
1024 char[] helpRequest.Answer
2 ushort helpRequest.ProcessDate.Year
2 ushort helpRequest.ProcessDate.Month
2 ushort helpRequest.ProcessDate.Day
2 ushort helpRequest.ProcessDate.Hour
2 ushort helpRequest.ProcessDate.Minute
2 ushort helpRequest.ProcessDate.Second
2 ushort helpRequest.ProcessDate.Microsecond
1 byte helpRequest.unkByte0 //btUserChecked? -> check != 0
}
break;
case CASClientAction.DeleteCompletedHelpRequest
4 uint Serial
break;
case CASClientAction.AcceptGMCall:
case CASClientAction.RefuseGMCall:
4 uint CallID
break;
}
}
else if(result == 0x02)
{
1 byte errorCode
}
See also: