Mirror/doc
vis2k b9f52fdb46
breaking: fix: #1151 - assign SyncVars before calling the Hook. Hook now passes old and new value instead of changing it from new value to old value, as this would break all SyncVar Hook projects silently. (#1416)
* test

* new docs

* adjust CheckForHookFunction to expect two hooks

* update example

* update example

* update example

* update test

* update example

* SyncVar.set: store value in oldValue variable

* SyncVar.set: pass old value to hook too

* TODO

* SyncVar deserialize store value in oldValue variable (for simple types)

* SyncVar deserialize: pass old value to hook too (for simple types)

* add test for GameObject type

* fix comment

* SyncVar deserialize: set value before calling hook

* add TODO

* SyncVar.set: set value before calling hook

* replace tests

* GO test

* SyncVar deserialize: move oldvalue code higher up so it applies to GO/NI too

* syntax

* SyncVar deserialize: pass oldValue to hook (GO/NI types)

* SyncVar deserialize: set netid before calling hook (GO/NI types)

* update comment

* update comment

* update comment

* shorter

* comment, TODO

* put oldValue code into separate cases again

* fix SyncVarEqual comparing the same two __goNetId values

* get rid of tmpValue

* fix weaver tests

* remove TODO

* SyncVar deserialize simple types: get rid of tmpValue here too

* remove tests
2020-01-10 16:17:13 +01:00
..
api docs: switch to docfx for documentation (#1026) 2019-08-24 10:20:33 -05:00
Components Merge pull request #1315 from FirstGearGames/patch-9 2019-12-16 17:30:23 -05:00
Examples Updated doc images 2019-11-23 10:58:06 +09:00
General Updated Changelog 2020-01-07 10:59:07 -05:00
Guides breaking: fix: #1151 - assign SyncVars before calling the Hook. Hook now passes old and new value instead of changing it from new value to old value, as this would break all SyncVar Hook projects silently. (#1416) 2020-01-10 16:17:13 +01:00
images docs:Use video tutorial image 2019-12-14 13:50:35 -06:00
Properties Fix issue doc.csproj conflicting with other assemblies 2019-08-24 15:04:40 -05:00
templates/material Doc color consistency 2019-11-23 10:53:59 +09:00
Transports Fix spelling mistakes 2019-12-07 23:31:48 +01:00
.gitignore docs: switch to docfx for documentation (#1026) 2019-08-24 10:20:33 -05:00
doc.csproj docs: include Components in the generated docs 2019-12-12 20:36:08 -06:00
docfx.json docs: Enable global search 2019-11-23 11:03:21 +09:00
favicon.ico Doc favicon file 2019-11-23 10:54:01 +09:00
filterConfig.yml docs: switch to docfx for documentation (#1026) 2019-08-24 10:20:33 -05:00
index.md Update index.md 2019-11-23 11:03:05 +09:00
logo.svg Put mirror logo in docs 2019-09-21 12:43:56 -05:00
toc.yml Change link to Sponsor 2019-12-26 19:19:34 -05:00