Commit Graph

52 Commits

Author SHA1 Message Date
James Frowen
ebe4d2c5c8
Update NetworkDiscovery.md 2020-07-03 23:56:37 +01:00
James Frowen
3e54a970c3
Update index.md 2020-07-03 23:18:24 +01:00
James Frowen
dabea79699
Update index.md 2020-07-03 23:17:04 +01:00
James Frowen
076203e967
Update NetworkDiscovery.md 2020-07-03 23:09:40 +01:00
James Frowen
af230ce988
docs: fixing order and table of contents (#2052)
* fixing order

* adding to table of contents
2020-06-29 00:52:23 +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
Tri-tip
b9508e756d
Fixed small typo (#2019)
Changed oath to OAuth2
2020-06-19 06:14:17 -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
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
FirstGearGames
5c0cc561b0
Removed YouTube link. Link is changing soon. (#1959) 2020-06-03 10:28:06 -04:00
FirstGearGames
f83f87fc12
Removed YouTube link. Link is changing soon. (#1960) 2020-06-03 10:27:50 -04:00
Chris Langsenkamp
e00186ed3d doc: Updated NetworkLogSettings doc 2020-05-08 22:39:53 -04:00
Chris Langsenkamp
93a4198d21 doc: Updated Components TOC 2020-05-08 22:31:34 -04:00
James Frowen
fd4357cd26
feat: LogSettings that can be saved and included in a build (#1863)
* Moving code that draws the log levels to its own class

this allows other scripts to use the same code to draw the log levels

* adding LogSettings to store the log levels

* adding GUI method to create LogSettings

* Creating Editor for LogSettings that uses LogLevelsGUI

* adding helper to find Existing LogSettings

* Adding field to LogLevelWindow to use LogSettings

* Adding LogSettings to drawer and save on changed check

* fixing field default value of null so that c# compiler doesnt complain

* loading existing settings into LogFactory when the editor starts

* component to load log settings in a build

* changing namespace

* Moving logging scripts to subfolder

* NetworkLogSettings editor

Makes the component use the same gui as the Window and ScriptableObject

* Making NetworkLogSettings find existing settings on Reset

reset is called when component is added

* adding attributes

* adding docs

* adding icon

* doc.

* documentation and images

* fixing image extension

* Update Assets/Mirror/Runtime/Logging/EditorLogSettingsLoader.cs

Co-authored-by: vis2k <info@noobtuts.com>

Co-authored-by: vis2k <info@noobtuts.com>
2020-05-08 23:51:21 +01:00
Chris Langsenkamp
7a17790538 doc: Merged Discovery docs 2020-05-07 01:58:32 -04:00
Chris Langsenkamp
811c9d3e02 doc: Merged Authentication documents 2020-05-07 01:52:35 -04:00
Chris Langsenkamp
08390cb801 doc: fixed Components navigation 2020-05-06 19:20:08 -04:00
MrGadget
a508e8d37b
Update NetworkMatchChecker.md 2020-05-06 12:39:54 -04:00
Chris Langsenkamp
5653607183 doc: Updated TOC 2020-05-02 01:18:41 -04:00
James Frowen
fea22f69df
fixing list (#1802) 2020-04-27 19:11:54 +02:00
Chris Langsenkamp
47798ef20e Updated doc images 2020-04-24 07:53:05 -04:00
MrGadget
a2eb666f15
feat: Disconnect Dead Clients (#1724)
* feat: Disconnect Dead Clients

* Moved code to NetworkConnectionToClient

* Fixed type

* WIP

* Trying to solve the mystery of the Host

* Updated Example

* fixed comment whitespace

* Final Cleanup and Unit Test

* Removed extra warning

* Reverted change to scene file

* Changed to Play test, still not working

* Added NetworkServer.Update time loop

* Removed commented code

* fixed comment

* Filled in ServerDisconnect so it behaves as expected.

* fixed comment

* Renamed to bool IsClientAlive

* Should be greater than

* Added override that shouldn't be necessary.

* changed asserts per Paul

* Flipped < back

* Shortened test time

* Corrected comment

* Lost the 1

* Updated NetworkServerTest

* Update Assets/Mirror/Tests/Runtime/NetworkServerTest.cs

* Added bool checkInactiveConnections

* Tests for sync dictionary and sync set (#1753)

* sync dictionary tests

* rename

* changing error message

* sync set tests

* silence unused method warning

* test class name matches file name

* test class name matches file name

* test class name matches file name

* test class name matches file name

* test class name matches file name

* test class name matches file name

* test class name matches file name

* Scope syncdict tests to their classes

* Scope synclists tests to their classes

* Scope syncset tests to their classes

* test class name matches file name

* Scope sample classes

* test class name matches file name

* fix: call the virtual OnRoomServerDisconnect before the base

* fixed name

* doc: Updated docs

* Moved serverIdleTimeout to NetworkManager

* fixed test to enable disconnectInactiveConnections

* Copied disconnectInactiveConnections & serverIdleTimeout to NetworkServer

Co-authored-by: James Frowen <jamesfrowendev@gmail.com>
Co-authored-by: Paul Pacheco <paulpach@gmail.com>
2020-04-23 21:50:35 +02:00
MrGadget
21acf66190
feat: NetworkMatchChecker Component (#1688)
* feat: NetworkMatchChecker Component

* Added docs

* feat: Use logger framework for NetworkClient (#1685)

* Use logger framework for NetworkClient

* Update Assets/Mirror/Runtime/NetworkClient.cs

Co-authored-by: vis2k <info@noobtuts.com>

* breaking: NetworkVisbility component (#1681)

* backup

* breaking: NetworkProximityCheck abstract class. Simplifies code, reduces complexity, improves performance because if 10k identities have 10 components each, we don't have to iterate 100k components each time we rebuild observers.

* update tests and checkers

* DisallowMultipleComponents

* fix tests

* split OnCheckObserver check

* fix tests

* syntax

* update comment

* renamed to NetworkVisibility

* forgot to remove comment

* breaking: Network Visibility Component

* changing namespaces of performance tests (#1689)

* Updated to use NetworkVisibility

* Updated comments

* Updated OnCheckObserver and removed OnSetHostVisibility

* tests for OnCheckObserver

* adding check for empty guid

* tests for changing matchId

* RebuildObservers if player left a match

* Refactored to make it simpler

Co-authored-by: Paul Pacheco <paulpach@gmail.com>
Co-authored-by: vis2k <info@noobtuts.com>
Co-authored-by: James Frowen <jamesfrowendev@gmail.com>
2020-04-17 10:35:08 +02:00
Chris Langsenkamp
1369bcf620 doc: Updated NetTrans and NetAnim docs and images 2020-04-16 17:33:54 -04:00
Chris Langsenkamp
54a365078b Updated Components doc 2020-04-10 20:52:23 -04:00
MrGadget
c796116758
Remove Usage of LAN in HUD and Docs (#1592)
* Remove usage of LAN in HUD and docs

* Server + Client

* Host (Server + Client)

* HUD Image
2020-03-24 21:55:18 +01:00
Chris Langsenkamp
a4ffcbe280 fix: Updated NetworkRoomPlayer inspector and doc and image 2020-03-17 19:22:53 -04:00
Chris Langsenkamp
8040ebb5cf Updated Network Manager doc 2020-02-24 10:13:14 -05:00
Chris Langsenkamp
487ac284c8 docs: Updated doc images 2020-02-22 22:01:44 -05:00
Chris Langsenkamp
e5dec90499 docs: Updated various documents 2020-02-17 23:10:47 -05:00
Chris Langsenkamp
01b2ed9d6e Updated NetworkSceneChecker doc 2020-02-12 14:18:56 -05:00
FirstGearGames
dc0e47269c
Updated video, updated video link. (#1461) 2020-01-29 15:56:22 -05:00
Chris Langsenkamp
d8d1f48fe2 Updated NetworkDiscovery doc 2020-01-29 13:23:12 -05:00
Paul Pacheco
e75b45f888
feat: LAN Network discovery (#1453)
* Fix typo

* Updated Changelog

* first commit

* Add example for discovery

* NetworkDiscovery component should be added

* fixed UI

* Fix some warnings

* refactor: network discovery reimplemented

* Remove unused GUIstyle

* Fix namespaces

* Just send to the broadcast address

* Fix indentation

* Log errors in ClientListen

* Code formatting cleanup, HelpURL's fixed, comments revised. (#38)

* Transport can now provide server uri

* work with any transport by passing uri

* Move discovery initialization to start

* feat: Discovery can now be easily customized per game

* Use generics to simplify api

* Renamed ServerInfo -> ServerResponse

* Rename method

* Moved up one folder

* Move ServerId to NetworkDiscovery

* tests now reference Mirror.Discovery

* Cleaned up blank space

* Disable GUID apparently fixes it

* Use UnityEvents for ease of use

* Remove noisy log

* remove blank spaces

* Process request receives the client endpoint

* use consistent name for parameters

* Remove white space

* Keep it minimalistic,  we don't need age or totalPlayers

* Comment non obvious property

* Don't break transports

* Documentation and image

* Code formatting

* removed privates

* Added Range attribute

* Rename ActiveDiscoverySecondInterval

* Revised NetworkDiscovery doc

* Swapped field order (Cosmetics)

* Added ScriptTemplate

* Update ProjectSettings/ProjectVersion.txt

* Updated ScriptTemplate

* Updated xml comment and ScriptTemplate

* Updated ScriptTemplate

* Improve xmldocs

* Improve xmldocs

* Remove leftover comment

* Renamed event

* Moved discovery inside components

* Keep parameter names consistent

* Provide a guide for network discovery

* XML Comments and ScriptTemplate

* Moved Credits

* fixed template

* Removed comment

* removed comment

* xml comments and template

* fixed method name

* fixed method and template

* removed semicolon

* fixed template

* fixed method and template

* fixed template

* fixed template

* Fix copypasta error

* Show error if no url is available

Network Discovery now shows an error if the transport does not support
providing Url

* Grammar fix

* Extended Template

* fixed template

* Added guide link to template

* New image

* Update NetworkDiscovery.md

* Updated Guid Doc and Template

* fixed bullets

* Remove unnecessary using

* Make it like Mirror's

* Update ScriptTemplates Image & Zip

* Removed from Deprecations

* Updated ChangeLog

* Updated ChangeLog

* Update NetworkDiscovery.md

Remove last line...this was copied to the paragraph above the code block

Co-authored-by: MrGadget <chris@clevertech.net>
2020-01-29 09:56:29 +01:00
MrGadget
71c0d3b2ee
feat: Network Scene Checker Component (#1271)
* Create Network Scene Checker Component

* Move objects to subscene in client

* Remove OnStartClient

* Rewritten with static dictionary

* Updated doc

* renamed image

* Replaced image

* fixed image name

* Changed to short-circuit return in Update

* Changed to using string for key since additive scenes may be unloaded

* Added null check

* Removed commented line

* Update Assets/Mirror/Components/NetworkSceneChecker.cs

Co-Authored-By: vis2k <info@noobtuts.com>

* Moved initializer to declaration

* Removed [Scene, SerializeField]

Co-authored-by: vis2k <info@noobtuts.com>
2020-01-25 15:48:47 -05:00
Chris Langsenkamp
11a6fa0d82 Updated Network Transform Doc and Image 2020-01-16 19:47:52 -05:00
MrGadget
ebe4b557e8
Merge pull request #1315 from FirstGearGames/patch-9
Added video tutorial link.
2019-12-16 17:30:23 -05:00
FirstGearGames
5dbb1709a8
Added video tutorial link. 2019-12-16 16:56:44 -05:00
FirstGearGames
193c1068bd
Added video tutorial link. 2019-12-16 16:55:54 -05: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
vis2k
12c5a8fdc3 Revert "feat: Add Timeout to NetworkAuthenticator (#1091)"
This reverts commit e8cc9ba27b.
2019-10-20 20:12:14 +02:00
MrGadget
e8cc9ba27b feat: Add Timeout to NetworkAuthenticator (#1091)
* Add timeout to NetworkAuthenticator

* Added back the using Vis removed

* updated doc

* Typo
2019-10-20 11:23:34 -05:00
Chris Langsenkamp
edbc2dc847 Fixed typo and formatting 2019-10-11 18:10:13 -04:00
Chris Langsenkamp
a5e2cf063b Added Profiler and cleaned up 2019-09-27 12:22:24 -04:00
Chris Langsenkamp
747fba0dba Replaced images 2019-09-24 00:21:06 -04:00
Chris Langsenkamp
31c2ecc517 fixed PlayFab case 2019-09-21 13:18:10 -04:00
Chris Langsenkamp
535251b1e8 removed blank lines 2019-09-21 00:31:36 -04:00
Chris Langsenkamp
74fd94c327 Added Authenticators section 2019-09-21 00:28:30 -04:00