vis2k
6c2559a73e
perf: Build batches directly instead of queuing serializations ( #3130 )
...
* rename
* so far
* better
* fixx
* old
* error
* typo
* comment
2022-04-01 13:46:38 +08:00
Robin Rolf
1631402bd7
fix: Byte format test uses current culture ( #3126 )
...
Since some may use , instead of . as their decimal place seperator
Error:
String lengths are both 7. Strings differ at index 1.
Expected: "1.00 KB"
But was: "1,00 KB"
2022-03-26 13:06:30 +08:00
vis2k
d8774ecd47
fix : #2954 calling StopClient in host mode does not destroy other client's objects anymore
2022-03-23 23:58:47 +08:00
vis2k
6f981224a9
fix : #2954 calling StopClient in host mode does not reset nextNetId anymore
2022-03-23 23:55:35 +08:00
vis2k
3d6c41a595
fix : #3122 DestroyAllClientObjects now also resets after unspawn handler was called ( #3124 )
2022-03-23 23:54:58 +08:00
MrGadget
cca7afdd08
MultipleMatches example fixed
2022-03-23 07:19:36 -04:00
MrGadget
3024427933
Fixed comments
2022-03-23 07:19:36 -04:00
vis2k
2c138c5d71
hasAuthority comment updated
2022-03-22 22:51:48 +08:00
vis2k
012d7a5d1e
Tests: runtime clientscene tests simplified and they don't rely on host mode anymore
2022-03-22 22:51:35 +08:00
vis2k
4b207d2994
fix: NetworkStatistics Unity 2019 support (part two)
2022-03-19 01:45:13 +08:00
vis2k
8f357d5961
fix: NetworkStatistics Unity 2019 support
2022-03-15 00:23:11 +08:00
vis2k
f4ceb067c9
perf: NetworkTime ExponentialMovingAverage .Value & .Var as fields instead of properties to avoid call overhead
2022-03-12 20:26:40 +08:00
vis2k
d979880c5f
perf: NetworkTime.time inlined
2022-03-12 20:26:20 +08:00
vis2k
18170d16b8
perf: NetworkTime.localTime inlined
2022-03-12 20:26:02 +08:00
vis2k
45e1afc812
perf: inline GetIndexFromFunctionHash because it's called for every RPC
2022-03-12 19:46:00 +08:00
vis2k
5fcbd1d550
perf: CompressVarInt uses WriteByte instead of Write<T> to avoid Action call overhead
2022-03-12 19:20:00 +08:00
vis2k
a868368eca
perf: Rpcs/Cmds functionHash bandwidth reduced from 4 => 2 bytes (with the potential for 1 byte VarInt) ( #3119 )
...
* perf: Rpcs/Cmds functionHash bandwidth reduced from 4 => 2 bytes (with the potential for 1 byte VarInt)
* tests
2022-03-12 18:26:00 +08:00
vis2k
5515eae4e8
perf: HandleRemoteCall passes componentIndex as byte to avoid extra < 0 check
2022-03-11 23:55:35 +08:00
vis2k
b6a9a95572
align NetworkStatistics exactly below NetworkManager HUD
2022-03-11 13:33:36 +08:00
vis2k
3d03146699
feature: NetworkStatistics ( #3118 )
...
* feature: NetworkStatistics
* better UI
2022-03-11 13:29:39 +08:00
vis2k
b100307929
feature: Transport.OnClient/ServerDataSent events += (prepares for NetworkStatistics) ( #3117 )
...
* feature: Transport.OnClient/ServerDataSent events += (prepares for NetworkStatistics)
* comments
2022-03-11 13:19:24 +08:00
vis2k
dc5162099e
feature: allow hooking into Transport events via += -= (prepares for NetworkStatistics) ( #3116 )
2022-03-11 13:10:12 +08:00
vis2k
0499dc0503
Tests: ShutdownCleanup test cleanup to prepare for Transport events += -= hooking
2022-03-10 22:19:21 +08:00
vis2k
e71f0e1cc4
script icons .meta
2022-03-10 20:29:41 +08:00
vis2k
9686c68bb7
base Transport moved to Runtime folder; Transport folder renamed to Transports
2022-03-10 20:25:49 +08:00
vis2k
99c3c0ded6
perf: NetworkConnection.Send() inlining
2022-03-10 19:57:35 +08:00
vis2k
24142b085b
comments
2022-03-10 19:50:08 +08:00
vis2k
3643679ec5
comments
2022-03-10 19:46:42 +08:00
vis2k
70bd831bd8
NetworkWriterPooled moved into separate file
2022-03-10 19:45:37 +08:00
vis2k
d92dbe1572
NetworkReaderPooled moved into separate file
2022-03-10 19:45:03 +08:00
vis2k
0402d31eb2
breaking: PooledNetworkReader/Writer renamed to NetworkReader/WriterPooled
2022-03-10 19:44:13 +08:00
vis2k
f0c9a81c10
breaking: NetworkReader/WriterPool API simplified: GetReader/Writer => Get; Recycle => Return; ( #3112 )
...
* breaking: NetworkReader/WriterPool API simplified: GetReader/Writer => Take; Recycle => Return;
* rename Take() to Get()
* Pool<T> Take() => Get()
2022-03-10 19:37:21 +08:00
vis2k
006efa090e
fix test
2022-03-09 16:40:31 +08:00
vis2k
926761c452
fix test
2022-03-09 16:33:34 +08:00
vis2k
70e40b88b5
test for #3106 OnStartLocalPlayer being called twice from ReplacePlayerForConnection
2022-03-09 16:25:28 +08:00
vis2k
f6df4edaae
fix : #3106 NetworkClient.ChangeOwner now uses .isLocalPlayer flag to check if OnStopLocalPlayer should be called.
...
previously it used localPlayer static identity, but that's error prone because in this case it was set by another function before already. added test to guarantee it never fails again.
2022-03-09 16:21:43 +08:00
vis2k
e2d1ad0b5e
better comment
2022-03-09 16:18:40 +08:00
vis2k
fedb6002b6
not necessary
2022-03-09 16:04:30 +08:00
vis2k
1423bee9d2
comment
2022-03-09 16:03:46 +08:00
vis2k
35ec47d213
Tests: guarantee OnStopLocalPlayer is called when using RemovePlayerForConnection. for #3106
2022-03-09 16:02:24 +08:00
vis2k
5846045122
comments
2022-03-09 15:55:05 +08:00
vis2k
303b66247e
ChangeOwner comments
2022-03-09 15:54:27 +08:00
vis2k
8bef2bf864
TODO
2022-03-09 15:52:07 +08:00
vis2k
c14566c731
comments
2022-03-09 15:51:12 +08:00
vis2k
a34cb00eb2
comment
2022-03-09 15:49:53 +08:00
vis2k
401074fc67
syntax
2022-03-09 15:47:43 +08:00
vis2k
376494e7f5
syntax
2022-03-09 15:46:50 +08:00
vis2k
7e19881630
MIRROR_65_0_OR_NEWER
2022-03-07 20:26:11 +08:00
vis2k
d40b2f6be2
sponsor button
2022-03-07 19:55:01 +08:00
MrGadget
a51bc743a8
syntax
2022-02-26 15:02:16 -05:00