Stub implementation of SendQuickChat

Proper API will follow later
This commit is contained in:
miniduikboot committed 2021-06-25 18:46:28 +02:00
1 parent 5f4c40bf36
commit 2f04f6ea98
2 files changed
+12

No files matched your search

+1
View File
@@ -34,5 +34,6 @@
SetTasks = 29,
ClimbLadder = 31,
UsePlatform = 32,
SendQuickChat = 33,
}
}
@@ -297,6 +297,17 @@ namespace Impostor.Server.Net.Inner.Objects
break;
}
case RpcCalls.SendQuickChat:
{
if (!await ValidateOwnership(call, sender))
{
return false;
}
// TODO: deserialize and expose the result in an API
break;
}
default:
return await base.HandleRpcAsync(sender, target, call, reader);
}