feat: add resurrection

This commit is contained in:
Иванов Иван
2024-08-12 18:20:55 +02:00
parent c3f6d10dc6
commit c61019961b
13 changed files with 94 additions and 2 deletions

View File

@@ -177,6 +177,15 @@ namespace Client.Domain.Service
SendMessage(OutgoingMessageTypeEnum.Stand);
}
public void RequestRestartPoint(RestartPointTypeEnum type)
{
if (hero == null)
{
return;
}
SendMessage(OutgoingMessageTypeEnum.RestartPoint, type);
}
private void SendMessage<T>(OutgoingMessageTypeEnum type, T? content = default)
{