2 Months Ago
Initial branch commit for dedi server message routing * Try to synchronize Connection State through ConnectionInfo where possible * Use Connection.All for filtered broadcasts so that will use ConnectionInfo if exists * TargetedMessage support for byte[] array for already packed messages, and pass in NetTransmission flags for routing as well * For now, one idea is to override SendRawMessage on MockConnection - for these type of Connection we can route through the host Store Connection internal state if ConnectionInfo doesn't exist then we can just use that Better synchronization of Connection State - now working as it was before, but should also synchronize other clients properly when on a dedicated server For filtered connection list / broadcast - if we're the host then use the connections we have, otherwise we should use Connection.All Include Connection with available connections when broadcasting - as Dedicated Server won't be included in Connection.All (maybe it should, or maybe people should just use Connection.Host)