Commit Graph

8356 Commits

Author SHA1 Message Date
vis2k
4c2fdc51bf UNetInvokeType moved to UNetwork.cs so that NetworkBehaviour is less cluttered and so that it can be used from other classes more easily. 2018-12-30 18:28:56 +01:00
vis2k
5bf7244533 NetworkBehaviour.GetInvokerForHash actually returns the invoker and a new GetInvokerFunctionForHash function returns the function. Can be reused in InvokeHandlerDelegateOfType now too. 2018-12-30 18:28:48 +01:00
vis2k
376cfebcdf Syntax 2018-12-30 18:04:56 +01:00
vis2k
77fe8e0145 NetworkBehaviour.InvokeCommand/Rpc/SyncEventDelegate all use InvokeHandlerDelegateOfType function now 2018-12-30 18:03:26 +01:00
vis2k
0924e2f144 NetworkBehaviour.InvokeSyncEventDelegate: added missing IsInstanceOfType check that the other invokes have 2018-12-30 17:59:54 +01:00
vis2k
c52e36af57 NetworkBehaviour.GetInvokerForHash simplified 2018-12-30 17:42:36 +01:00
vis2k
c9f68f4b73 NetworkBehaviour.SendRPCInternal/SendTargetRPCInternal: improved error messages 2018-12-30 17:36:40 +01:00
vis2k
aed13e68e2 NetworkBehaviour: removed unused GetCmdHashPrefixName function 2018-12-30 17:31:24 +01:00
vis2k
98f984182a NetworkBehaviour.InvokeSyncEventDelegate simplified 2018-12-30 17:30:43 +01:00
vis2k
3d7a10fd08 NetworkBehaviour.InvokeRpcDelegate simplified 2018-12-30 17:29:57 +01:00
vis2k
b3a4c3159c NetworkBehaviour.InvokeCommandDelegate simplified 2018-12-30 17:29:07 +01:00
vis2k
dd7915bf75 NetworkBehaviour: removed unused GetCmdHashCmdName/RpcName/EventName functions 2018-12-30 17:26:31 +01:00
vis2k
113eb2a8f0 NetworkBehaviour: removed unused ContainsCommandDelegate function 2018-12-30 17:24:36 +01:00
vis2k
a1e3d94f2f Syntax 2018-12-30 17:23:45 +01:00
vis2k
58528e5179 NetworkBehaviour.Invoker: removed unused DebugString function 2018-12-30 17:23:24 +01:00
vis2k
c1f510882d NetworkBehaviour: removed unused GetInvoker function 2018-12-30 17:23:00 +01:00
vis2k
9c21f76234 Syntax 2018-12-30 17:14:28 +01:00
vis2k
53c1ea3788
Weaver passes cmd/rpc/targetrpc/event names instead of hashcodes now. HLAPI worries about sending hashcodes instead. 2018-12-30 17:13:03 +01:00
vis2k
283727b88a Removed Utils again 2018-12-30 17:02:49 +01:00
vis2k
be9206c27a Removed comment 2018-12-30 17:01:59 +01:00
vis2k
cc56bbd048 Weaver passes cmd/rpc/targetrpc/event names instead of hashcodes now. HLAPI worries about sending hashcodes instead. 2018-12-30 17:00:51 +01:00
vis2k
1b33f7d633 HLAPI: GetStableHashCode added too 2018-12-30 16:24:28 +01:00
vis2k
07ab30f366 Weaver: GetHashCode replaced with string.GetStableHashCode extension that is less weird and can be used in HLAPI too (without compiling with /unsafe flag) 2018-12-30 16:23:56 +01:00
vis2k
86c482cf60 NetworkBehaviour: improved error message 2018-12-30 15:56:38 +01:00
vis2k
ce803e1ea1 NetworkScenePostProcess: 'uvs' renamed to 'identities' 2018-12-30 15:54:29 +01:00
vis2k
163600c498 NetworkScenePostProcess: removed prefabWarnings HashSet because the extra code is not worth the rare case where we have more than one NetworkIdentity on a prefab. There is no harm in showing a warning for each one. 2018-12-30 15:29:45 +01:00
vis2k
b66a5784f1 Fixed comment typo 2018-12-30 15:27:02 +01:00
vis2k
9b49b34f3c NetworkScenePostProcess: rename 'uv' to 'identity' 2018-12-30 15:26:23 +01:00
vis2k
e19af230b9 NetworkScenePostProcess: replace 'var' with actual types 2018-12-30 15:25:56 +01:00
Paul Pacheco
79a0187292
Fix links in readme (#189) 2018-12-27 16:32:54 -06:00
Paul Pacheco
217e79476d
Reset the offset boundaries when we connect to a new server (#187) 2018-12-27 08:42:56 -06:00
vis2k
8ad8b8bf1a
Merge pull request #186 from paulpach/timeboundary
Dramatically improve accuracy of network time
2018-12-27 11:39:44 +01:00
vis2k
6c22c57d52
Merge pull request #183 from paulpach/stopwatch
Fix #182,  use Stopwatch to keep track of NetworkTime
2018-12-27 11:38:32 +01:00
Paul Pacheco
5c0670dc6a Dramatically improve accuracy of network time 2018-12-27 01:07:32 -06:00
Paul Pacheco
85c7d80099
Fix link to documentation (#185)
* Fix link to documentation

* Can't really merge anything without this
2018-12-26 19:18:28 -06:00
Paul Pacheco
e07ad53c55 Simplify stop watch initialization 2018-12-26 18:42:08 -06:00
Chris Langsenkamp
76b75dbb9b New Documentation (#184)
* Documentation Outline

* Spacing adjustments

* Captured old wiki content

* yml fix

* Docs work

* resize images

* Replaced images

* Removed md from links

* Renamed Misty to Fizzy

* Captured Unity docs

* links cleanup

* clear links

* Cleanup and moved NetworkBehavior to Classes.

* added slashes to yml paths

* reverted slashes

* Fixes bad link

* Update Ignorance.md

This should be enough documentation for now, yeah?

* Localized images

* Update Ignorance.md

formatting updates

* Lots of Cleanup

* fix link

* Formatting

* fix code blocks

* Lots of content and cleanup

* fixed yml

* Added blank line

* Added spaces in titles

* tightened bullets

* Fixed bullet spacing

* Fixed more bullets

* unbolded content

* Cleanup and removal of empty pages
Updated README with links to docs pages

* Restored prior version

* Contributing

* Improvements to content

* lower case fix

* fix link

* renamed Contributions

* fixed link

* home page content

* Fixed Encoding

* Moved Why TCP

* Replaced Unity with Mirror

* Telepathy Description

* changed to h2

* Moved Sample down

* Removed dead links

* Copied Contributions
Added Test
Fixed h3's

* Fixed headings

* added to Test

* Fixed image alts and links

* fixed last alt
2018-12-26 16:07:24 -06:00
Paul Pacheco
cf56c0ed79 fix #182, use Stopwatch instead of Datetime to keep track of network time 2018-12-26 09:16:39 -06:00
vis2k
a645406bd6
Merge pull request #180 from paulpach/readonlylist
SyncLists are now readonly in the client
2018-12-24 10:54:56 +01:00
Paul Pacheco
2dbdc5591d SyncLists are now readonly in the client
If users try to modify a synclist in the client, it will now complain loudly with an InvalidOperationException
instead of silently doing the change and breaking synclists.
2018-12-23 16:51:42 -06:00
Paul Pacheco
62051c74b0 Add space before disqus 2018-12-23 09:59:40 -06:00
Paul Pacheco
7ddb7df4ad Reduce space between bullet points 2018-12-23 09:55:12 -06:00
Paul Pacheco
1affe178f5 Add some separation between toc entries 2018-12-23 09:53:22 -06:00
Paul Pacheco
f85316f5c6 add some margin after code 2018-12-23 09:47:32 -06:00
Paul Pacheco
d78b5f720a Code background matches between inline and multiline 2018-12-23 09:43:29 -06:00
Paul Pacheco
b435eedfeb Reduce margin-top for h2 and h3 2018-12-23 07:52:23 -06:00
Paul Pacheco
cef22386da Fix issue scrolling to the end of sidebar 2018-12-22 22:38:10 -06:00
Paul Pacheco
8efaf5c159 Fix issue with sticking Concepts in sidebar 2018-12-22 22:31:59 -06:00
Paul Pacheco
49115b682b Fix anchor & code scrolling issue 2018-12-22 22:21:55 -06:00
Paul Pacheco
ab80b6f943 Validate documentation for broken links and images 2018-12-22 12:18:21 -06:00