GetLastRestEventType

// Determine the type (REST_EVENTTYPE_REST_*) of the last rest event (as // returned from the OnPCRested module event). int GetLastRestEventType;