mirror of
https://github.com/Impostor/Impostor.git
synced 2026-10-20 01:46:11 +00:00
Stub implementation of SendQuickChat
Proper API will follow later
This commit is contained in:
1 parent
5f4c40bf36
commit
2f04f6ea98
2 files changed
+12
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user