Skip to content

0x6005 FRAMEWORKMSG_STATE_REQ

DummkopfOfHachtenduden edited this page Sep 3, 2021 · 1 revision

State requests should be answered with 0x2005-FRAMEWORKMSG_STATE_UPDATE

Structure

1    byte   updateFlag      //ServerStateUpdateFlag
if(updateFype.HasFlag(ServerStateUpdateFlag.ServerBody))
{
    1   byte    iteratorFlag       //ITERATOR_BEGIN = 0
    while(true)
    {
        1    byte   iteratorFlag    //ITERATOR_NEXT = 1, ITERATOR_END = 2
        if(iteratorFlag == 2)
            break;
        
        2   short  serverBody.ID
    }
}

if(updateFype.HasFlag(ServerStateUpdateFlag.ServerCord))
{
    1   byte    iteratorFlag       //ITERATOR_BEGIN = 0
    while(true)
    {
        1    byte   iteratorFlag    //ITERATOR_NEXT = 1, ITERATOR_END = 2
        if(iteratorFlag == 2)
            break;
        
        4   int   iteratorFlag.ID
    }
}

Related pages

Clone this wiki locally