StreamAuthorityHelper
A static class in Root.Township, Alta.Networking.
Checks whether a connection may send data for an entity, and logs when it may not.
- Listed in Networking and servers
Fields
Methods
| Member | What it is |
|---|---|
static bool CheckReadPermission(EntitySerializer serializer, Connection connection) | True on clients and in local test; on the server, true only if the connection belongs to the serializer's authority player. |
static void LogUnauthorizedMessage(IPlayer player) | Logs an error that a player sent data it had no right to send. |