tma: Add working AtmosphereTestService (echoes As)
This commit is contained in:
1 parent
d875d84d2d
commit
24be9ffc57
13 files changed
+200
-45
No files matched your search
@@ -19,14 +19,19 @@
|
||||
#include "tma_task.hpp"
|
||||
#include "tma_service_manager.hpp"
|
||||
|
||||
void TmaTask::SetNeedsPackets(bool n) {
|
||||
this->needs_packets = n;
|
||||
this->manager->Tick();
|
||||
}
|
||||
|
||||
void TmaTask::Complete() {
|
||||
/* TODO: Set packet state */
|
||||
SetNeedsPackets(false);
|
||||
this->state = TmaTaskState::Complete;
|
||||
this->manager->Tick();
|
||||
}
|
||||
|
||||
void TmaTask::Cancel() {
|
||||
/* TODO: Set packet state */
|
||||
SetNeedsPackets(false);
|
||||
this->state = TmaTaskState::Canceled;
|
||||
this->manager->Tick();
|
||||
}
|
||||
Reference in new issue
Block a user