Platform SDK: Agent |
HRESULT GetMoveCause( long * pdwCause // address of variable for cause of character move );
Retrieves the cause of the character's last move.
const unsigned short NeverMoved = 0; | Character has not been moved. |
const unsigned short UserMoved = 1; | User dragged the character. |
const unsigned short ProgramMoved = 2; | Your application moved the character. |
const unsigned short OtherProgramMoved = 3; | Another application moved the character. |
const unsigned short SystemMoved = 4 | The server moved the character to keep it onscreen after a screen resolution change. |