feat: add resurrection
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "../Repositories/ItemRepository.h"
|
||||
#include "../GameStructs/NetworkHandlerWrapper.h"
|
||||
#include "../GameStructs/L2GameDataWrapper.h"
|
||||
#include "Domain/Enums/RestartPointTypeEnum.h"
|
||||
|
||||
using namespace L2Bot::Domain;
|
||||
|
||||
@@ -123,6 +124,16 @@ namespace Interlude
|
||||
m_NetworkHandler.ChangeWaitType(1);
|
||||
}
|
||||
|
||||
void RestartPoint(Enums::RestartPointTypeEnum type) const override
|
||||
{
|
||||
L2ParamStack* stack = new L2ParamStack(1);
|
||||
stack->PushBack((void*)type);
|
||||
|
||||
m_NetworkHandler.RequestRestartPoint(*stack);
|
||||
|
||||
delete stack;
|
||||
}
|
||||
|
||||
private:
|
||||
const NetworkHandlerWrapper& m_NetworkHandler;
|
||||
const ItemRepository& m_ItemRespository;
|
||||
|
Reference in New Issue
Block a user