Paul Pacheco
5a1be98885
initialize these lists only once
2018-10-11 20:19:57 -05:00
Paul Pacheco
a4b642fca6
These fields should never be assigned after creation
2018-10-11 20:16:35 -05:00
Paul Pacheco
875115db2c
Remove redundant parenthesis
2018-10-11 20:13:54 -05:00
Paul Pacheco
b57bbf4ec7
ensure reader is only initialized once
2018-10-11 20:12:01 -05:00
Paul Pacheco
71ea8291d4
Make sure m_MessageHandlers are initialized only once
2018-10-11 20:11:06 -05:00
Paul Pacheco
8716eb6cdf
remove redundant array size spec
2018-10-11 20:09:14 -05:00
Paul Pacheco
1b81fea8ef
Channel is only set at constructor
2018-10-11 19:58:08 -05:00
Paul Pacheco
e2577ef785
Simplify conditionals
2018-10-11 19:43:20 -05:00
Paul Pacheco
9a542e98cc
Simplify conditional
2018-10-11 19:40:36 -05:00
Paul Pacheco
e265ef3efd
Remove useless assignment
2018-10-11 19:32:11 -05:00
Paul Pacheco
bb237d6fbb
Simplify conditional
2018-10-11 19:31:39 -05:00
Paul Pacheco
5bd90fa63c
Removed useless assignment
2018-10-11 19:30:42 -05:00
Paul Pacheco
680d6437af
Simplify conditional
2018-10-11 19:29:25 -05:00
Paul Pacheco
31d39744e8
Remove duplicate lines
2018-10-10 13:53:40 -05:00
Paul Pacheco
f1efb6b889
Implement IEquatable as recommended by Microsoft and SA
2018-10-10 09:51:27 -05:00
Paul Pacheco
5b0d1190b8
Implement IEquatable as recommended by Microsoft and SA
2018-10-10 09:43:00 -05:00
Paul Pacheco
9cd74a240f
Removed unused method
2018-10-09 23:59:15 -05:00
Paul Pacheco
f0723e50dd
simplify with null coalesce
2018-10-09 23:53:02 -05:00
Paul Pacheco
059730ca37
Remove redundant casting
2018-10-09 14:48:04 -05:00
Paul Pacheco
757cafe0a7
Remove unused variable
2018-10-09 14:42:54 -05:00
Paul Pacheco
6a80f77e6d
fix list indentation
2018-10-09 14:20:36 -05:00
Paul Pacheco
216504a78c
Clientscene is a static class ( #59 )
2018-10-09 19:56:04 +02:00
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