Commit Graph

182 Commits

Author SHA1 Message Date
Chris Langsenkamp
2c9d22f781 Updated ChangeLog 2020-01-10 19:53:21 -05:00
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
Chris Langsenkamp
b581e896fc Updated Changelog 2020-01-07 10:59:07 -05:00
Chris Langsenkamp
6d77f00ad0 Updated ChangeLog 2020-01-06 04:53:38 -05:00
Chris Langsenkamp
379e4c38cc Updated Dev Server docs and TOC 2020-01-06 04:23:57 -05:00
FirstGearGames
b31f885421
- Added video tutorials for built-in data types and custom data types.
- Added video tutorials for built-in data types and custom data types.
2020-01-03 12:06:32 -05:00
Paul Pacheco
c3ffb50722
docs: explain limitations a little better 2019-12-30 12:15:32 -06:00
Chris Langsenkamp
53b160e480 Update NetworkBehaviour Template 2019-12-30 09:47:44 -05:00
Chris Langsenkamp
952855ef64 Restore Overview entries in TOC's 2019-12-30 04:35:18 -05:00
Icezman001
11b5a6639e Update index.md (#1367)
Forgot a %20 in the last picture. it didn't show. Is fixed
2019-12-29 13:21:21 -06:00
Icezman001
9421696447 Update toc.yml (#1366)
Stop showing overview on the left. It's the same as the title so doesn't need to be shown
2019-12-29 13:02:03 -06:00
Icezman001
19321d575f docs: Explain how to set a server in AWS (#1365)
* Create DevelopmentServer.md

This guide focuses on helping people try out their projects on a dedicated server so a more realistic test can be performed to see if everything works correctly.
This focuses on the free/trial aspect from the chosen providers and tries to make it very clear to readers that "free" is relative and Mirror can not be held responsible if they go above the providers limits.
It is mainly a guide on setting up the dedicated server through different providers to test your Mirror project.

Question:
Should I put it all under each other or should each provider/possibility be a different page like synchronization/GameObjects?
For example:
Overview
AWS
Azure
Google

* Make dedicated servers a submenu

* Add files via upload

* Move AWS inside it's own folder

* Update index.md

Changed the imgur links to the github images in the AWS folder so offline access is possible

* Update index.md

As suggestion from SoftwareGuy from suggestion: https://github.com/vis2k/Mirror/pull/1365#discussion_r361819820
I have made this in a bullet point so it's more clearly visible

* Update index.md

* Update index.md

* Update index.md

Added the changes as SoftwareGuy mentioned

* Update index.md

Another update to the formatting.
Changed some parts to titles so it's easier to navigate through the right hand side on github pages.
Some more formatting done

* Update index.md

Changed the titles from the 7 steps to include the step number for easier following

* Update index.md

Forgot this one: https://github.com/vis2k/Mirror/pull/1365#discussion_r361819874

Co-authored-by: Paul Pacheco <paulpach@gmail.com>
2019-12-29 11:44:26 -06:00
Icezman001
ad7e7e58a3 Update Profiler.md (#1364)
Changed patreon mentions to github supporter mentions
2019-12-28 16:56:21 +01:00
Chris Langsenkamp
8d8cb7eba0 Change link to Sponsor 2019-12-26 19:19:34 -05:00
Chris Langsenkamp
fc9f61af49 Cropped image 2019-12-22 17:58:10 -05:00
Chris Langsenkamp
5363770f5b Changed link to zip 2019-12-22 17:35:31 -05:00
Chris Langsenkamp
7a138b9926 Updated NetworkBehaviour doc 2019-12-22 17:30:14 -05:00
Chris Langsenkamp
92d19cf6ef Added ScriptTemplates to TOC 2019-12-22 17:19:49 -05:00
Chris Langsenkamp
74aab9e633 Added Script Templates doc 2019-12-22 17:09:51 -05:00
Chris Langsenkamp
4179338d27 Update ChangeLog 2019-12-22 15:16:32 -05:00
Paul Pacheco
68a004a63b
improve authentication doc
just make text a little easier to read
2019-12-22 10:26:23 -06:00
FirstGearGames
62050666b9
Added video tutorial link. 2019-12-22 08:54:04 -05:00
rxmarccall
5658b0695d
Update NetworkBehaviour.md
Simple typo for `ClientRPC` attribute that should be `ClientRpc`
2019-12-20 15:42:16 -07:00
MrGadget
c51b8c7508
Merge pull request #1320 from rxmarccall/patch-1
Update SceneObjects.md
2019-12-19 10:18:18 -05:00
Icezman001
a21ab8934b
Update SyncVarHook.md
In the example while reading the guides it just seemed easier to put the variables at the top (as you read the OnStartServer method you see a variable and try to find what it is, but it's further down.
Easier to understand in my mind. Not sure if it's a huge issue for others
2019-12-19 15:54:35 +01:00
MrGadget
f521f1b06e
Update Conversion.md 2019-12-19 09:41:58 -05:00
rxmarccall
e49456da5f
Update doc/Guides/GameObjects/SceneObjects.md
Looks great!

Co-Authored-By: MrGadget <chris@clevertech.net>
2019-12-18 17:10:28 -07:00
rxmarccall
11df4dd2f8
Update SceneObjects.md
Clarification that networked scene objects will not enable until an actual Player Object has been created
2019-12-18 15:46:31 -07:00
MrGadget
2b5370f129
Merge pull request #1311 from FirstGearGames/patch-5
Added missing field setter on Item ReadItem() for ARMOR.
2019-12-16 17:31:21 -05:00
MrGadget
16fe7d3643
Merge pull request #1312 from FirstGearGames/patch-6
Added video tutorial.
2019-12-16 17:30:57 -05:00
MrGadget
f09b06584e
Merge pull request #1313 from FirstGearGames/patch-7
Changedvideo link to video within playlist.
2019-12-16 17:30:43 -05:00
MrGadget
4d906fbe44
Merge pull request #1314 from FirstGearGames/patch-8
Added SyncVar hook video link.
2019-12-16 17:30:32 -05:00
MrGadget
ebe4b557e8
Merge pull request #1315 from FirstGearGames/patch-9
Added video tutorial link.
2019-12-16 17:30:23 -05:00
FirstGearGames
5dbb1709a8
Added video tutorial link. 2019-12-16 16:56:44 -05:00
FirstGearGames
193c1068bd
Added video tutorial link. 2019-12-16 16:55:54 -05:00
FirstGearGames
beca3dfd20
Added SyncVar hook video link. 2019-12-16 16:51:53 -05:00
FirstGearGames
0cabfff9c8
Changedvideo link to video within playlist. 2019-12-16 16:49:34 -05:00
FirstGearGames
c51b27eb2f
Added video tutorial. 2019-12-16 16:48:10 -05:00
FirstGearGames
3cb4f93790
Added missing field setter on Item ReadItem() for ARMOR. 2019-12-16 15:33:12 -05:00
MrGadget
3b1e6dcc6f
Update SpawnPlayerCustom.md 2019-12-15 18:56:38 -05:00
Paul Pacheco
3e1d0bd147 doc: Improved alt for video tutorial 2019-12-14 14:16:07 -06:00
Paul Pacheco
39c934af54 docs:Use video tutorial image 2019-12-14 13:50:35 -06:00
FirstGearGames
3033ed7541 docs: Added video tutorial URL (#1308)
* Update SyncVars.md

* Update doc/Guides/Sync/SyncVars.md

Co-Authored-By: Paul Pacheco <paulpach@gmail.com>

* Update SyncVars.md

- Removed starting time from video URL.

* Resize image and move to the top

* Make video bigger
2019-12-14 10:23:52 -06:00
MrGadget
f21dbfee01
Update Migration.md 2019-12-14 01:02:33 -05:00
MrGadget
6eb88a9c2c
Update ChangeLog.md 2019-12-12 23:10:19 -05:00
Paul Pacheco
15185de56f docs: include Components in the generated docs
fixes #1218
2019-12-12 20:36:08 -06:00
MrGadget
c2d8cdfbcd
Update ChangeLog.md 2019-12-09 20:59:02 -05:00
MrGadget
d4ac60fcfd
Update ChangeLog.md 2019-12-09 20:58:16 -05:00
Robin Gustafsson
a8795b3449 Fix spelling mistakes 2019-12-07 23:31:48 +01:00
MrGadget
424a417e35
Update ChangeLog.md 2019-12-05 21:17:29 -05:00