Commit Graph

4297 Commits

Author SHA1 Message Date
Paul Pacheco
4b2ab9b3d6 Remove redundant return 2018-10-09 11:11:07 -05:00
Paul Pacheco
6bbe38bbca Remove redundant return 2018-10-09 10:53:39 -05:00
Paul Pacheco
c1a68792c9 Ensure writer is initialized only once 2018-10-09 10:47:36 -05:00
Paul Pacheco
95b6e9fc12 Removed unused code 2018-10-09 10:39:00 -05:00
Paul Pacheco
95972329af Simplify validation 2018-10-09 10:33:12 -05:00
Paul Pacheco
c590b89836 Dont assign in conditional, it is confusing 2018-10-09 10:30:31 -05:00
Paul Pacheco
738baf2cad Remove redundant initializations 2018-10-09 10:22:55 -05:00
vis2k
277f18280e Added comments for OnRebuildObservers return value and adjusted NetworkProximityChecker to make this less weird. 2018-10-09 10:59:21 +02:00
Paul Pacheco
3f9a423258 writer should be private, directy accessing it can corrupt the message 2018-10-08 10:39:50 -05:00
Paul Pacheco
f608d0e540 underlying list should not be initialized more than once 2018-10-08 10:24:16 -05:00
Paul Pacheco
a1a46813e1 local objects is readonly, we never assign it again 2018-10-08 10:22:22 -05:00
Paul Pacheco
69fc6091b1 Introduce new variable instead of reusing parameter r 2018-10-08 10:20:21 -05:00
Paul Pacheco
14c6a354d1
fix atx-closed heading 2018-10-08 10:16:15 -05:00
Paul Pacheco
1f3ce14185
Fix list indentation 2018-10-08 10:14:28 -05:00
Paul Pacheco
520d93ae37
Fix list indentation 2018-10-08 10:13:24 -05:00
Paul Pacheco
c58e629791
Fix multiple top level headers 2018-10-08 10:11:50 -05:00
Paul Pacheco
9ca8c15646
Fix incorrect indentation 2018-10-08 10:09:41 -05:00
Paul Pacheco
25aa0d4166
Escape brackets
These are not links,  just examples
2018-10-08 10:07:19 -05:00
Paul Pacheco
10e413e640 Remove unused inneficient method (#56) 2018-10-08 16:38:25 +02:00
Paul Pacheco
fdb0799332 Removed unused local variable 2018-10-08 09:14:59 -05:00
Paul Pacheco
97c05ac91d Remove unused method 2018-10-08 09:13:21 -05:00
Paul Pacheco
a822907fb9 Removed unused parameter 2018-10-08 09:10:37 -05:00
Paul Pacheco
e3dca31a14 Remove unused method 2018-10-08 09:07:48 -05:00
Paul Pacheco
d5d13f9099 Remove redundant casts 2018-10-08 09:06:00 -05:00
mateusz
b531b4d0cf Incremental compiler compatibility fixes (#52)
* Catch exception during weaving when .pdb is locked

* Allow built-in types from netstandard.dll

* Revert whitespace changes in 56d2164
2018-10-06 11:04:47 +02:00
Paul Pacheco
30ade03e65
Remove (edited) comments from discord 2018-10-05 10:47:25 -05:00
Paul Pacheco
1a067af885 Synchronize network time and calculate rtt (#51)
* Synchronize network time and calculate rtt

* Fix code style issues

* Add generic DoubleMessage

* Remove unnecesary private

* should be >= or it could be off by a millisecond

* Add obsolete warning

* Remove extra line

* Comment explaining the epoch

* Change epoch to application start time

* Link to EMA wikipedia

* Add comment about time accuracy with float

* Address feedback from vis2k
2018-10-05 17:05:04 +02:00
mateusz
03c49de258 Network animator optimizations (#55)
* Store animator parameters in a variable to avoid expensive get operation

* Convert series of if statements to switch

* Add a comment explaining the optimization

* Convert switch statement to else-if

* Fix typo

* Revert changes to if statements
2018-10-05 17:02:55 +02:00
Paul Pacheco
40db215fc9 Fix npe callin numPlayer (#54) 2018-10-05 09:54:05 +02:00
vis2k
c95648b3ae NetworkProximityChecker cast layers are now exposed and customizable in the Inspector to save large amounts of computations (instead of letting hundreds of monsters/players cast against the environment all the time) 2018-10-04 18:50:53 +02:00
vis2k
c581d9ec33 NetworkProximityChecker now looks for hit's NetworkIdentity in the object AND in the parents if needed. This allows us to place colliders on child objects like a pelvis bone, which is often done so that the collider follows the animations. 2018-10-04 18:50:53 +02:00
vis2k
a5c94a4414 NetworkProximityChecker: 'var' replaced with actual types 2018-10-04 18:50:53 +02:00
Paul Pacheco
18558f8693
Add link to the asset store
Mirror is now available on the asset store.
2018-10-01 10:28:09 -05:00
Paul Pacheco
0afd9f50ea use type safe register handler instead of casting (#49) 2018-09-30 10:27:55 +02:00
vis2k
3063273ad4 NetworkIdentity AddObserver message removed again because the bug was fixed a while ago and it generates too many false positives 2018-09-29 18:24:26 +02:00
Paul Pacheco
38a4ca27f4 Initialize transport in network manager (#48) 2018-09-28 15:19:37 +02:00
vis2k
1e61aaa05a PlayerControllers removed because couch co-op while playing online is such a rare use case that it's hardly worth supporting the insane complexity 2018-09-26 17:40:07 +02:00
vis2k
d3c81957da Updated Telepathy to latest version 2018-09-26 15:43:01 +02:00
Paul Pacheco
b14957fbc8 Allow for serializing large arrays. Fix #42 (#45) 2018-09-26 15:10:47 +02:00
vis2k
c9eb72d35c NetworkManager.OnServerAddPlayerInternal: removed unnecessary casts 2018-09-26 15:02:06 +02:00
vis2k
a3d43e215a NetworkConnection, NetworkWriter: max packet size checks use Transport.MaxPacketSize instead of UInt16.MaxValue now 2018-09-26 14:49:36 +02:00
vis2k
8f3de9f26b NetworkClient.UpdateClients: comment grammar fixed 2018-09-26 14:40:56 +02:00
vis2k
44fface440 NetworkClient.Update syntax improved 2018-09-26 14:39:55 +02:00
vis2k
b74b02731f NetworkClient.PrepareForConnect: removed unused usePlatformSpecificProtocols parameter 2018-09-26 14:38:27 +02:00
vis2k
2c10471470 NetworkClient.IsValidIpV6 removed because it wasn't used anymore 2018-09-26 14:36:05 +02:00
vis2k
e34e8ba41e Weaver.ProcessSiteMethod: improved prefix checks 2018-09-26 14:29:20 +02:00
vis2k
f7d7a671d3 Syntax 2018-09-26 14:29:20 +02:00
Paul Pacheco
14d4059f90 Publish a git release after a successfull build 2018-09-26 06:32:38 -05:00
Paul Pacheco
493a295f88 Type safe register/unregister handlers (#44) 2018-09-25 20:59:57 +02:00
vis2k
f3886906ef
Update README.md 2018-09-25 13:37:56 +02:00