Paul Pacheco
3b9414f131
perf: spawn with client authority only takes 1 message ( #1206 )
...
* perf: spawn with client authority only takes 1 message now
* Fix javadocs and warning
* Rename parameters
* Make sure we spawn players with authority
2019-11-24 10:22:43 +09:00
Paul Pacheco
5b04836bb2
fix: spawnwithauthority works again in host mode
2019-11-24 10:16:15 +09:00
Paul Pacheco
92d0df7b39
feat: SyncToOwner now works with authority ( #1204 )
...
* WIP redoing authority
* Local client also handles authority
* Remove unused callback
* Update Assets/Mirror/Runtime/NetworkIdentity.cs
Co-Authored-By: MrGadget <chris@clevertech.net>
* Update Assets/Mirror/Runtime/NetworkIdentity.cs
Co-Authored-By: vis2k <info@noobtuts.com>
* Rename pendingOwner
* Update Assets/Mirror/Runtime/NetworkIdentity.cs
Co-Authored-By: vis2k <info@noobtuts.com>
* Update Assets/Mirror/Runtime/NetworkIdentity.cs
Co-Authored-By: vis2k <info@noobtuts.com>
* Update Assets/Mirror/Runtime/NetworkIdentity.cs
Co-Authored-By: vis2k <info@noobtuts.com>
* Update Assets/Mirror/Runtime/NetworkIdentity.cs
Co-Authored-By: vis2k <info@noobtuts.com>
2019-11-23 15:07:00 +09:00
Paul Pacheco
24d8368b38
refactor: reuse connectionToClient for authority ( #1200 )
...
* refactor: reuse connectionToClient for authority
* Fix compilation issue
* Make PR easier to read
* Better error message
* Update Assets/Mirror/Runtime/NetworkIdentity.cs
Co-Authored-By: MrGadget <chris@clevertech.net>
2019-11-23 15:00:53 +09:00
Paul Pacheco
876da8bbcd
refactor: Simplify spawning
2019-11-23 14:54:37 +09:00
MrGadget
1e96cb7a8a
Replaces SpawnWithClientAuthority with Spawn Overloads ( #1233 )
...
* Replaces SpawnWithClientAuthority with Spawn Overloads
* Cleaned up comments and log messages
2019-11-23 14:26:27 +09:00
vis2k
e847344bde
syntax
2019-11-23 11:59:04 +09:00
vis2k
f0cf4e7e14
Replace 'local client' naming with 'host' to be less confusing. This breaks NetworkProximityChecker.OnSetLocalVisibility because it needs to be renamed to OnSetHostVisibility
...
* rename parameter
* obsolete
* rename parameter
2019-11-23 11:34:47 +09:00
Paul Pacheco
1d4b1faac2
docs: fix link to spawn custom player
2019-11-23 11:03:27 +09:00
Paul Pacheco
aa9e9efa67
docs: fix changelog link
2019-11-23 11:03:24 +09:00
Paul Pacheco
3a72507878
docs: Enable global search
2019-11-23 11:03:21 +09:00
Paul Pacheco
0bc151bb27
Obsolete built in messages
2019-11-23 11:03:18 +09:00
Paul Pacheco
c669ff155d
perf: avoid allocation for error messages
2019-11-23 11:03:08 +09:00
MrGadget
d85ae85ddf
Update index.md
2019-11-23 11:03:05 +09:00
MrGadget
76bdbc88e7
Update index.md
2019-11-23 11:03:00 +09:00
MrGadget
24037b8803
Update Migration.md
2019-11-23 11:02:58 +09:00
MrGadget
e7b6a52cbb
Update ChangeLog.md
2019-11-23 11:02:55 +09:00
MrGadget
0f49883874
Update ChangeLog.md
2019-11-23 11:02:11 +09:00
MrGadget
d829a0be3b
Update ChangeLog.md
2019-11-23 11:01:13 +09:00
vis2k
1c7c54305d
add missing meta file
2019-11-23 11:00:49 +09:00
Chris Langsenkamp
638b445744
Update Prefabs After LocalPlayerAuthority Removed
2019-11-23 10:59:52 +09:00
MrGadget
5c050aff8e
Update ChangeLog.md
2019-11-23 10:59:46 +09:00
MrGadget
8cf6a0707e
feat: Script Templates ( #1217 )
...
* Add Script Templates
* Moved serialization section down
* Added comments to Awake & Start
* Capitalization
* meta files
* Added doc links and XML comments
2019-11-23 10:59:38 +09:00
Chris Langsenkamp
477028913a
Update Prefabs After LocalPlayerAuthority Removed
2019-11-23 10:59:21 +09:00
Chris Langsenkamp
1699335aaa
fixed comment
2019-11-23 10:59:12 +09:00
Chris Langsenkamp
a19b5d5a58
Replaced doc images
2019-11-23 10:58:08 +09:00
Chris Langsenkamp
6d9a12a026
Updated doc images
2019-11-23 10:58:06 +09:00
Chris Langsenkamp
1ca8bcea54
Updated NetworkIdentity doc
2019-11-23 10:58:02 +09:00
Paul Pacheco
d741baed78
feat: Pass all information to spawn handler ( #1215 )
2019-11-23 10:57:52 +09:00
ZacNorthBigBox
701f4f4183
fix: Pass the name of the invoking class and desired command when an object has no authority. ( #1216 )
2019-11-23 10:57:45 +09:00
Paul Pacheco
2c58902357
Code style
2019-11-23 10:57:40 +09:00
Paul Pacheco
2081a757ea
Remove unused connection id cache
...
Good find by MrGadget
2019-11-23 10:57:32 +09:00
Paul Pacheco
2d4d4109bb
Make list cache readonly
2019-11-23 10:57:25 +09:00
Chris Langsenkamp
2fdc224f43
update code example
2019-11-23 10:57:22 +09:00
Paul Pacheco
c2096d0fb7
Available transport is determined at connection time ( #1213 )
...
* Available transport is determined at connection time
* Update MultiplexTransport.cs
2019-11-23 10:57:11 +09:00
Paul Pacheco
ce305d95fc
Removed unused code
2019-11-23 10:57:09 +09:00
Paul Pacheco
15e03d9bbf
Removed unused code
2019-11-23 10:57:06 +09:00
Paul Pacheco
7ba4bc3590
use C# formatter
2019-11-23 10:56:53 +09:00
Paul Pacheco
09f6892c55
feat: An authenticator that times out other authenticators ( #1211 )
...
* feat: An authenticator that times out other authenticators
* Clean up some spaces
* Add tooltip for timeout
Disable timeout with 0
* Update Assets/Mirror/Authenticators/TimeoutAuthenticator.cs
Co-Authored-By: MrGadget <chris@clevertech.net>
* Update Assets/Mirror/Authenticators/TimeoutAuthenticator.cs
Co-Authored-By: MrGadget <chris@clevertech.net>
* Remove space
* Update Assets/Mirror/Authenticators/TimeoutAuthenticator.cs
Co-Authored-By: MrGadget <chris@clevertech.net>
* Update Assets/Mirror/Authenticators/TimeoutAuthenticator.cs
Co-Authored-By: MrGadget <chris@clevertech.net>
* Update Assets/Mirror/Authenticators/TimeoutAuthenticator.cs
Co-Authored-By: MrGadget <chris@clevertech.net>
* Update Assets/Mirror/Authenticators/TimeoutAuthenticator.cs
Co-Authored-By: MrGadget <chris@clevertech.net>
* Update Assets/Mirror/Authenticators/TimeoutAuthenticator.cs
Co-Authored-By: MrGadget <chris@clevertech.net>
* Update Assets/Mirror/Authenticators/TimeoutAuthenticator.cs
Co-Authored-By: MrGadget <chris@clevertech.net>
* Update Assets/Mirror/Authenticators/TimeoutAuthenticator.cs
Co-Authored-By: MrGadget <chris@clevertech.net>
* Update Assets/Mirror/Authenticators/TimeoutAuthenticator.cs
Co-Authored-By: MrGadget <chris@clevertech.net>
* use float for time
* Update Assets/Mirror/Authenticators/TimeoutAuthenticator.cs
* Update Assets/Mirror/Authenticators/TimeoutAuthenticator.cs
* Update Assets/Mirror/Authenticators/TimeoutAuthenticator.cs
2019-11-23 10:56:51 +09:00
Paul Pacheco
31ea2345cc
doc: clarify ownership as seen in NetworkBehaviours
2019-11-23 10:56:34 +09:00
Chris Langsenkamp
d821013deb
Added HelpURL to NetworkBehaviour
2019-11-23 10:56:22 +09:00
Chris Langsenkamp
890676fd84
Updated ChangeLog
2019-11-23 10:56:17 +09:00
Chris Langsenkamp
e33f2e84cb
Updated summary comments
2019-11-23 10:56:04 +09:00
vis2k
589f62dee3
Doc favicon file
2019-11-23 10:54:01 +09:00
vis2k
3735ea5e8c
Doc color consistency
2019-11-23 10:53:59 +09:00
Chris Langsenkamp
033e7972f9
Doc Update
2019-11-23 10:53:56 +09:00
Paul Pacheco
a2f98d03b0
Improve authority docs ( #1207 )
2019-11-23 10:53:52 +09:00
Chris Langsenkamp
6551332e1b
Updated changelog
2019-11-23 10:52:34 +09:00
Paul Pacheco
bf9eb610dc
feat: NetworkConnection is optional for handlers ( #1202 )
...
* feat: NetworkConnection is optional for handlers
* make NetworkConnction optional in handlers
2019-11-23 10:52:24 +09:00
Paul Pacheco
12fd2ae6fc
Remove redundant namespace
2019-11-23 10:52:12 +09:00