James Frowen
d0bb9d57b0
sending if syncInterval is greater or equal to 0 ( #2053 )
2020-06-30 09:56:13 +02:00
MaZy
4ffff192a6
fix: If socket is undefined it will return false. See #1486 ( #2017 )
2020-06-28 18:10:17 -05:00
James Frowen
61d44b2d80
fix: Fallback and Multiplex now disable their transports when they are disabled ( #2048 )
...
* test to check if fallbacks disables other transport
* using ondisable to disable other transport
* fixing teardown
* adding test for Multiplex
* using ondisable to disable other transport
* fixing NSubstitute for 2019
2020-06-28 23:49:36 +01:00
James Frowen
ab1b92f74b
fix: addingNetwork rigidbody icon and AddComponentMenu attribute ( #2051 )
...
* adding icon
* adding attributes
* adding docs
* adding disclaimer at top of doc
2020-06-28 23:47:50 +01:00
James Frowen
0c30d3398a
fix: Network rigidbody fixes ( #2050 )
...
* using syncInterval for client auth
* only set sync var if change is greater than Sensitivity
* fixing client auth sync
* using currentVelocity
2020-06-28 23:46:43 +01:00
James Frowen
25285b1574
feat: Experimental NetworkRigidbody ( #1822 )
...
* NetworkRigidBody
2020-06-27 00:38:50 +01:00
Kyle
ba29119aa1
Missed one internal call that the NetworkManager uses ( #2044 )
2020-06-27 00:35:58 +01:00
Eunseop Shim
350ce47db3
Implement IReadOnlyDictionary for SyncDictionaries ( #2032 )
2020-06-26 13:21:54 +02:00
Kyle
d06ee6a21d
Kr/issue 2039 ( #2040 )
...
* Update NetworkClient.cs
* Update NetworkServer.cs
* Missed a call
2020-06-26 13:18:56 +02:00
James Frowen
78bd284b6f
fixing null ref ( #2043 )
2020-06-26 09:47:49 +01:00
James Frowen
e36449cb22
fix: changing namespace to match folder name ( #2037 )
...
* updating namespace
* updating example name spaces
2020-06-25 16:13:47 +01:00
James Frowen
7c9afca7c5
deleting old list server ( #2034 )
...
* deleting old list server
* fixing prefab name
2020-06-25 16:23:09 +02:00
James Frowen
18691dabe0
adding game name to api updater ( #2036 )
2020-06-25 12:14:50 +01:00
James Frowen
7d0e907b73
feat: More examples for Mirror Cloud Service ( #2029 )
...
* fixing pong spawn points
* renaming files and asmdef
* More Cloud examples
* Moving pong example to cloud folder
* Moving shared code to GUI folder
* Adding readme for examples
* Adding tank example
2020-06-25 01:58:47 +01:00
James Frowen
54a69bbc83
Fixing warning messages ( #2030 )
...
* disabling warning for empty method
* removing null propagation
null propagation in untiy can cause MissingReferenceException
2020-06-24 23:13:12 +02:00
James Frowen
b42c74bc40
adding doc comment for SpawnMessag ( #2027 )
2020-06-24 23:12:00 +02:00
James Frowen
f1fdc959dc
feat: adding demo for mirror cloud services ( #2026 )
...
* adding mirror list services
* fixing code smells
* removing runtime example folders
* removing matchmaking code till feature is ready
* fixing scene path
* updating readme to say where example is
2020-06-23 20:39:38 +02:00
James Frowen
065d320208
calling animator.enabled before calls to animator ( #2000 )
...
some functions don't need this check as the check is done before they are called
2020-06-21 12:09:24 +02:00
James Frowen
296f6f9cd8
Only setting last parameters values if they have changed ( #1999 )
...
* only setting last values if they have changed
* adding comment
2020-06-21 12:06:37 +02:00
James Frowen
f18f7a5c3d
making sure that trigger is called on the server ( #1998 )
2020-06-21 12:06:07 +02:00
James Frowen
3bea342257
rethrow error with stack ( #2013 )
...
this will help error be more useful
2020-06-21 11:54:11 +02:00
James Frowen
a05df81127
adding if before starting task ( #2021 )
2020-06-21 11:52:32 +02:00
uwee
36c0b65e8b
fixes broken ui for Tanks example ( #2015 )
2020-06-20 23:39:36 +01:00
James Frowen
4af72c3a63
fix: calling base method when the first base class did not have the virtual method ( #2014 )
...
* adding test for error
* adding test with multiple overrides
* calling methods in base type
* adding test for more than 1 override
2020-06-19 00:23:46 +02:00
Chris Langsenkamp
5032ceb000
fix: Clean up roomSlots on clients in NetworkRoomPlayer
2020-06-18 09:44:50 -04:00
Chris Langsenkamp
37338706f9
Remove redundant .transform
2020-06-17 17:35:32 -04:00
James Frowen
8c1ed40c40
adding check before telling clients ( #2010 )
...
* adding check before telling clients
* Update Assets/Mirror/Runtime/NetworkManager.cs
Co-authored-by: MrGadget <chris@clevertech.net>
2020-06-16 12:21:57 -04:00
James Frowen
76d49c1e99
faster write line ( #2009 )
2020-06-16 16:16:58 +01:00
Chris Langsenkamp
b41fca2d28
Changed to inline token injection
2020-06-16 08:29:59 -04:00
James Frowen
46239783f3
feat: adding log handler that sets console color ( #2001 )
...
* adding log handler that sets console color
* fixing stack trace log
* removing empty cases
* removing string.Format
2020-06-15 14:54:35 +02:00
James Frowen
5f0c7ceb52
moving spawn functions next to each other ( #2002 )
2020-06-14 17:33:32 +01:00
Chris Langsenkamp
fffd462df8
fix: Suppress warning
2020-06-13 13:25:07 -04:00
Chris Langsenkamp
23b545fc8a
suppress erroneous warning
2020-06-13 12:34:14 -04:00
James Frowen
5480a583e1
fix: Websockets Transport now handles being disabled for scene changes ( #1994 )
...
* fix: Websockets Transport now handles being disabled for scene changes
* Removed unused method
* Removed test warnings
* Changed back to await Task.Run
* adding queue to ClientJs
keeping standalone client without queue
dont need common class for now as that over complicates the fix
Co-authored-by: Chris Langsenkamp <chris@clevertech.net>
2020-06-13 12:21:13 -04:00
MrGadget
7e2b7338a1
feat: Experimental Network Transform ( #1990 )
...
* feat: Experimental Network Transform
* Removed lastClientSendTime and lastServerSendTime
2020-06-12 16:48:34 +02:00
MrGadget
b962d71944
breaking: Websocket Transport now requires full path to PFX ( #1989 )
...
* breaking: Websocket Transport now requires full path to PFX
* Added HelpURL
2020-06-12 09:38:45 -04:00
Chris Langsenkamp
1dc0d98374
fix: Replaced Icosphere with centered pivot
2020-06-12 09:19:02 -04:00
Chris Langsenkamp
9a42fe3342
fix: WebSockets: Force KeepAliveInterval to Zero
2020-06-12 08:24:13 -04:00
Chris Langsenkamp
285ec968c0
Fix: WebSockets: Force KeepAliveInterval to Zero
2020-06-11 23:07:21 -04:00
James Frowen
781e8070de
fixing using statments ( #1983 )
2020-06-10 21:56:44 +01:00
Chris Langsenkamp
ae3dc04fb9
fix: Removed unused variable
2020-06-10 12:57:46 -04:00
James Frowen
b92da91d7a
fix: Allowing overrides for virtual commands to call base method ( #1944 )
...
* adding override method that calls base
* trying to debug instruction for call to base
* extra tests
* adding tests for client and target Rpc
* adding fix for calls to base class
Since networkbehaviour parents are processed first we can just fix the
method when we see it in SubstituteMethod
2020-06-10 16:11:29 +02:00
James Frowen
2ce5880646
breaking: moving static code from NetworkBehaviour to its own class ( #1951 )
...
* moving static code from NetworkBehaviour to its own class
* Replacing calls in tests to use new RemoteCallHelper
* updating references to types in weaver
* adding version 15 defines
* renaming function
2020-06-10 16:10:54 +02:00
James Frowen
7e93030849
feat: adding script that displays ping ( #1975 )
...
* adding script that displays ping
* fixing style
* adding mirror icon
* Update Assets/Mirror/Components/NetworkPingDisplay.cs
Co-authored-by: MrGadget <chris@clevertech.net>
* adding DisallowMultipleComponent
* adding docs on NetworkPingDisplay
Co-authored-by: MrGadget <chris@clevertech.net>
2020-06-10 14:31:13 +01:00
James Frowen
3db57e5f61
fix: making weaver include public fields in base classes in auto generated Read/Write ( #1977 )
...
* adding test to check if data is sent
* test for generating writer for inherited class
* adding extension method for FindAllPublicFields
2020-06-10 15:12:36 +02:00
James Frowen
dfa2e7aff6
fixing typo ( #1976 )
2020-06-09 12:26:27 +01:00
James Frowen
e39b91efca
removing extra null check ( #1974 )
...
if transform is not null then gameObject will also be not null
2020-06-09 11:32:50 +02:00
Chris Langsenkamp
986975d65e
Set Tanks example to Round Robin
2020-06-08 10:02:19 -04:00
James Frowen
69e58cc870
checking this instead of this.gameobject ( #1973 )
2020-06-08 08:54:34 +02:00
James Frowen
927c4dede5
fix: Replacing ClearDelegates with RemoveDelegates for test ( #1971 )
...
* making ClearDelegates Obsolete
* returning hash from Registering function
* fixing tests
2020-06-08 08:54:00 +02:00