vis2k
23d5992404
selective sync
2022-10-19 12:23:38 +02:00
vis2k
b796b6d3e6
k
2022-10-19 12:18:02 +02:00
vis2k
ebda44c067
tooltip, range
2022-10-19 12:17:31 +02:00
vis2k
8ee97bcc94
okokok
2022-10-19 11:45:21 +02:00
vis2k
893b3afe1f
deserialize delta wip
2022-10-19 10:56:31 +02:00
vis2k
699ce9d6b0
deserialize initial
2022-10-19 10:48:20 +02:00
vis2k
a2a8584f93
wip
2022-10-19 10:40:09 +02:00
vis2k
e408c44ff3
deserialize every
2022-10-19 10:37:12 +02:00
vis2k
2b5fbcf05a
fix
2022-10-19 10:36:30 +02:00
vis2k
060a9363cd
wip
2022-10-18 22:57:38 +02:00
vis2k
fdf86613ed
not unsafe
2022-10-18 21:57:34 +02:00
vis2k
a948f3398c
Deserialize
2022-10-18 17:09:55 +02:00
vis2k
907831ff24
Serialize
2022-10-18 17:09:50 +02:00
vis2k
edabc88279
void returns
2022-10-18 17:08:33 +02:00
vis2k
c221a61604
void returns
2022-10-18 17:08:33 +02:00
vis2k
339a9d9967
feature: Utils.BitsRequired to prepare for BitTree delta compression
2022-10-18 17:08:33 +02:00
vis2k
706bbaa3b0
feature: Utils.RoundBitsToFullBytes to prepare for BitTree delta compression
2022-10-18 17:08:33 +02:00
vis2k
a5673819dd
feature: Utils.Pow to prepare for BitTree delta compression
2022-10-18 17:08:33 +02:00
vis2k
3128dd3018
fix base test
2022-10-18 17:08:33 +02:00
vis2k
ad23c768e5
raw copy
2022-10-18 17:08:33 +02:00
vis2k
9afc57bc78
feature: NetworkWriter.WriteBytes(byte*) unsafe version to prepare for BitTree delta compression
2022-10-18 17:08:26 +02:00
vis2k
243e142203
Mirror.Components.asmdef: allow unsafe to prepare for NetworkTransform V3
2022-10-18 16:34:08 +02:00
mischa
f64fcb8142
feature: SyncDirection to easily support client auth components without extra Rpcs/Cmds. previously OnSerialize was only server-to-client direction. ( #3232 )
...
* feature: SyncDirection
* broadcast without global sendInterval
* comments
* TODO
* disconnect moved up
2022-10-18 11:10:22 +02:00
vis2k
25a45a9ce8
Revert "Utils.RoundBitsToFullBytes from DOTSNET / Mirror II to prepare for manual per-field Delta Compression for NetworkTransform V3"
...
This reverts commit c7e3dc32d6
.
2022-10-18 09:39:49 +02:00
vis2k
9c2444475c
Tests: allow unsafe
2022-10-17 19:18:01 +02:00
vis2k
c7e3dc32d6
Utils.RoundBitsToFullBytes from DOTSNET / Mirror II to prepare for manual per-field Delta Compression for NetworkTransform V3
2022-10-17 18:41:14 +02:00
vis2k
d9aa7b152e
Compression.ScaleToLong/Float to prepare for next NetworkTransform float<->long compression
2022-10-17 10:04:31 +02:00
vis2k
9d487b3a86
comment
2022-10-15 22:30:24 +02:00
vis2k
743e00bd20
SendTargetRpc: improve error messages
2022-10-15 20:42:43 +02:00
vis2k
ed0b7339eb
assetId is now printed as decimal instead of hex, for consistency with Unity Inspector which also shows it as decimal.
2022-10-14 11:18:33 +02:00
vis2k
270be5f452
fix : #3234 assetId setter now allows overwriting an old assetId after duplicating a prefab.
...
the previous assetId Guid to int commit (4430001521
) changed AssignAssetId() from modifying m_assetId to assetId.set directly, which introduced this bug.
2022-10-14 11:13:42 +02:00
vis2k
8006251382
NetworkIdentity.assetId.set: update explanation, copied the wrong one from Mirror II
2022-10-14 11:00:54 +02:00
vis2k
149d907823
syntax
2022-10-13 17:38:39 +02:00
vis2k
bf55c68d96
unnecessary
2022-10-13 17:27:41 +02:00
vis2k
9120de1016
comment
2022-10-13 13:46:52 +02:00
vis2k
e647df8fa3
feature: NetworkConnection.owned objects are now available on server AND on client
2022-10-13 13:29:06 +02:00
vis2k
6bb42e9e81
breaking: NetworkConnectionToServer.clientOwnedObjects renamed to .owned (simplify API)
2022-10-13 11:03:42 +02:00
vis2k
8cb64383fc
add deprecated dates
2022-10-13 11:01:19 +02:00
mischa
a20bad57e5
breaking: .hasAuthority renamed to .isOwned because it's easier to understand, and to prepare for SyncDirection where there is a difference between: ( #3231 )
...
isOwned = is this one of the client connection's .owned entities?
authority = can we modify this component's state? depends on SyncDirection AND owned
2022-10-13 10:59:39 +02:00
vis2k
90028b43ea
NetworkServer.sendInterval calculated separately so it's easier to change sendRate later
2022-10-13 10:49:07 +02:00
vis2k
1433bb7993
comment
2022-10-12 21:22:16 +02:00
vis2k
2bab435832
perf: NetworkIdentity.Serialize: only iterate if any dirty bit set, otherwise don't need to iterate again
2022-10-12 21:17:10 +02:00
vis2k
4127345f8a
fix: Benchmark demo Spatial Hashing radius reduced from 200 to 30 so the monsters actually despawn when walking out of range in the demo
2022-10-12 21:14:55 +02:00
vis2k
e6886e8a84
fix: ensure Serialize writes nothing at all if not dirty and add test so it's never missed again(!).
...
fixes unchanged objects sending an unnecessary 1 byte dirty mask after recent dirtybits improvement.
2022-10-12 21:06:03 +02:00
vis2k
8ec99fa153
NetworkIdentity: ValidateComponents for use from initialize, serialize, deserialize all together
2022-10-12 12:33:25 +02:00
vis2k
227940e054
comment
2022-10-12 11:13:58 +02:00
vis2k
9dd04e2efa
fix: NetworkIdentity.MaxNetworkBehaviours and EnsureMax function so we have the same code in both places, where previously Serialize() still checked for 255 instead of 64
2022-10-12 11:08:12 +02:00
vis2k
d3e32ddbdf
readme
2022-10-11 21:03:31 +02:00
vis2k
91313c2ded
readme
2022-10-11 13:27:52 +02:00
vis2k
4896b97543
readme: credits
2022-10-11 13:27:50 +02:00