Commit Graph

6964 Commits

Author SHA1 Message Date
vis2k
e3c4bf5eba syntax 2022-09-25 12:38:08 +07:00
vis2k
cf0b884c1f MessagePacking renamed to NetworkMessages (it contains more network message code than just packing) 2022-09-25 12:21:38 +07:00
vis2k
8249508fa7 MessagePacking.Unpack renamed to PackId for consistency 2022-09-25 12:10:29 +07:00
vis2k
1baadc1dbe syntax & comments 2022-09-25 12:08:13 +07:00
vis2k
458eeca0e8 syntax 2022-09-25 12:07:14 +07:00
vis2k
92a766af36 update comment 2022-09-25 12:06:16 +07:00
vis2k
4d5bf360ec MessagePacking.GetId: remove unnecessary AND 2022-09-25 12:05:28 +07:00
vis2k
16c572cfc4 syntax 2022-09-25 12:05:17 +07:00
vis2k
13e6c77bad MessagePacking.HeaderSize renamed to IdSize 2022-09-25 12:03:49 +07:00
vis2k
c97bf5a06a syntax 2022-09-25 12:00:03 +07:00
vis2k
f24acb6372 Transport.activeTransport renamed to .active 2022-09-25 12:00:03 +07:00
vis2k
94345c94bf Tests: Mathd 2022-09-25 11:50:56 +07:00
vis2k
dea63ba59e syntax 2022-09-25 11:49:35 +07:00
vis2k
827a6d310c syntax 2022-09-25 11:49:11 +07:00
vis2k
4ea52a0283 fix: InterestManagement.Awake is now protected virtual (#3214) 2022-09-24 22:13:46 +07:00
vis2k
e4fa18da76 build settings: always build IL2CPP: makes most sense for multiplayer games (perf, asm "obfuscation") 2022-09-24 22:09:07 +07:00
vis2k
6ba926bcb1 NetworkManager: serverTickInterval for convenience (prepares for remote statistics) 2022-09-24 22:08:20 +07:00
vis2k
80abe21047 NetworkManager: auto connect client build option for CCU test bots 2022-09-24 22:08:03 +07:00
vis2k
4d5e55511c Utils.KeepInScreen 2022-09-24 22:02:35 +07:00
vis2k
4dd3c6df8c Utils.PrettySeconds 2022-09-24 22:02:30 +07:00
vis2k
72f65a1b66 rename folder 2022-09-24 21:58:23 +07:00
vis2k
c49cc5f422 Examples/_Common folder 2022-09-24 18:17:39 +07:00
vis2k
4430001521 breaking: perf: assetId as uint instead of Guid. saves 12 bytes and much conversion magic (as suggested by james). may need to resave prefabs once in case of spawn issues. 2022-09-24 18:08:12 +07:00
vis2k
9c5e10f71b breaking: NetworkBehaviour.SerializeSyncVars return type changed from bool to void to simplify weaver (and reduce branches) 2022-09-24 17:30:20 +07:00
vis2k
7c7f83362b breaking: perf: NetworkIdentity/NetworkBehaviour OnSerialize return type changed from bool to void to a-void confusion (and branches) 2022-09-23 14:21:48 +07:00
vis2k
92ff55120a weaver comments 2022-09-23 14:21:31 +07:00
vis2k
29fef498eb Weaver NetworkBehaviourProcessor: add explanation 2022-09-23 14:19:25 +07:00
vis2k
e63742523c fix broken tests caused by default transport adding. also fixes tests using kcp unintentionally. 2022-09-23 13:55:54 +07:00
vis2k
99851945e9 NetworkManager.transport field made public so it can be set from tests 2022-09-23 13:55:17 +07:00
vis2k
b82bb86fc7 remove unused import 2022-09-23 13:39:12 +07:00
vis2k
6941df570c NetworkAnimator: remove unnecessary XML comments 2022-09-23 13:37:13 +07:00
vis2k
498c3c568a remove unused imports 2022-09-23 13:32:24 +07:00
vis2k
63e3780ecd Runtime folder renamed to Core. makes it more obvious that Components/, Transports/, Authenticators/ etc. are optional 2022-09-23 13:30:08 +07:00
vis2k
f1e53a09ae remove old Runtime/Transports folder 2022-09-23 13:29:21 +07:00
vis2k
7a8a3c6e1e KCP transport moved to root Transports folder; removed old auto upgrading which would require a circular dependency 2022-09-23 13:27:19 +07:00
vis2k
70d82f844d kcp2k moved to root Transports folder 2022-09-23 13:25:57 +07:00
vis2k
8abf17acae Middleware transport moved to root Transports folder 2022-09-23 13:24:55 +07:00
vis2k
3e4f4d7614 Multiplex transport moved to root Transports folder 2022-09-23 13:23:33 +07:00
vis2k
1507c764cc Telepathy transport moved to root Transports folder 2022-09-23 13:21:56 +07:00
vis2k
1c9101b3d4 LatencySimulation transport moved to root Transports folder 2022-09-23 13:21:21 +07:00
vis2k
78e65c40ec Transports folder next to Components; SimpleWebTransport moved from Runtime to Transports 2022-09-23 13:19:19 +07:00
vis2k
de830650a5 script icons 2022-09-23 13:12:47 +07:00
vis2k
a8c84fe9b8 perf: NetworkIdentity.assetId is now cached to avoid expensive "new GUID" construction 2022-09-17 17:13:56 +08:00
vis2k
a94fe67c23 Utils.IsSceneObject common function for NetworkServer/Client 2022-09-17 17:04:25 +08:00
vis2k
a99bc0ebf5 NetworkClient: ConsiderForSpawning renamed to IsSceneObject because that's what it checks 2022-09-17 16:58:52 +08:00
vis2k
4654a281f3 NetworkServer: ValidateSceneObject renamed to IsSceneObject - that's what it checks 2022-09-17 16:58:13 +08:00
vis2k
0fbf400697 fix: Tanks demo: remove light from projectile as well to fix visual glitches 2022-09-17 16:53:15 +08:00
vis2k
478e1d8c0e perf: NetworkWriter.WriteString now writes directly into the buffer without the intermediate stringBuffer step 2022-09-17 16:51:03 +08:00
vis2k
ed8e5529ad syntax 2022-09-17 16:42:49 +08:00
vis2k
ddb79ab0eb NetworkLoop: remove old Unity 2018 code 2022-09-17 16:36:20 +08:00