Commit Graph

2495 Commits

Author SHA1 Message Date
Chris Langsenkamp
3bfbeed1fa update git ignore 2019-09-21 23:27:26 -04:00
vis2k
958fc256be remove unused import 2019-09-21 22:44:55 +02:00
vis2k
633f7825ed NetworkAuthenticator: OnStartServer/OnStartClient made virtual because not all authenticators need them. 2019-09-21 22:42:14 +02:00
vis2k
c3917cdf0b NetworkAuthenticator: OnStartClient moved into client region 2019-09-21 22:41:07 +02:00
vis2k
a498bff511 syntax 2019-09-21 21:29:26 +02:00
vis2k
3a803c1c39 fix typo 2019-09-21 21:26:56 +02:00
Paul Pacheco
135caba5be Put mirror logo in docs 2019-09-21 12:43:56 -05:00
Chris Langsenkamp
31c2ecc517 fixed PlayFab case 2019-09-21 13:18:10 -04:00
MrGadget
99652b24f0 Reorder NetworkManager (#1105) 2019-09-21 11:50:55 -05:00
MrGadget
3e92f53a36 Update NetworkRoomPlayer.cs (#1094)
CmdChangeReadyState needs to be public
2019-09-21 09:25:01 -05:00
Chris Langsenkamp
6d6af6dedf Merge branch 'master' of https://github.com/vis2k/Mirror 2019-09-21 10:23:11 -04:00
Chris Langsenkamp
28f30bd850 Made sentence clear 2019-09-21 10:23:00 -04:00
Paul Pacheco
a351879f91 perf: avoid boxing if there is no profiler 2019-09-21 08:19:07 -05:00
vis2k
4a13773dbc remove old comment 2019-09-21 10:47:34 +02:00
Chris Langsenkamp
6d8282e9d1 fixed API nav link 2019-09-21 01:06:20 -04:00
Chris Langsenkamp
2c41ad95e4 Added bullet for Authenticators 2019-09-21 00:38:27 -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
Chris Langsenkamp
9c0ce5d075 Fixed TOC files 2019-09-20 23:50:38 -04:00
Chris Langsenkamp
964c88e4be Eliminated Classes section 2019-09-20 23:34:03 -04:00
Paul Pacheco
8d6029df79 Logo now points to mirror's homepage 2019-09-20 21:22:37 -05:00
Chris Langsenkamp
c8652fa347 Eliminated articles folder and moved all up to /doc 2019-09-20 22:19:58 -04:00
Chris Langsenkamp
06ed307217 now links work with docgen 2019-09-20 21:08:56 -04:00
Chris Langsenkamp
9fcbfc5857 doc links as they should be 2019-09-20 20:55:52 -04:00
Chris Langsenkamp
760b5284b9 Fixed obsoletes and comments 2019-09-20 20:31:41 -04:00
Chris Langsenkamp
d1942de744 Fixed doc links 2019-09-20 20:28:05 -04:00
Paul Pacheco
5985e6d641 GetRpcMethod does not need an instance 2019-09-19 23:31:43 -05:00
Paul Pacheco
bc87649be6 Don't report out messages if there are no recipients 2019-09-19 23:27:34 -05:00
Paul Pacheco
e742ffad4b Messages must be public for profiler 2019-09-19 23:26:50 -05:00
Chris Langsenkamp
4df405bead Merge branch 'master' of https://github.com/vis2k/Mirror 2019-09-19 07:01:16 -04:00
Chris Langsenkamp
d635a3cec9 Culled some docs in favor of API, moved a few, navigation. 2019-09-19 07:00:50 -04:00
Paul Pacheco
838d4f019f
fix: Fix error scene error message in host mode
When using online scene and starting host mode,  users were getting:

```
Closing connection: 0. Received message Mirror.SceneMessage that required authentication
```
2019-09-18 18:13:26 -05:00
Chris Langsenkamp
82c647bd82 page formatting 2019-09-18 10:02:39 -04:00
Chris Langsenkamp
6a78ca0854 fixed link 2019-09-18 09:54:17 -04:00
Chris Langsenkamp
5cc505475e Updated ChangeLog and Deprecations 2019-09-18 08:52:30 -04:00
MrGadget
e88316f336 Rename NetworkConnection.playerController to identity (#1092)
* change playerController to identity

* improved obsolete

* Obsolete comment
2019-09-18 10:32:26 +02:00
Chris Langsenkamp
9f09c21680 Revert "Remove add component from deprecated components (#1087)"
This reverts commit 8a99ab16e8.
2019-09-17 23:23:13 -04:00
Chris Langsenkamp
8db08002d5 Doc for replacing playerController with identity 2019-09-17 21:32:34 -04:00
Chris Langsenkamp
6e4409b786 Fixed double-spaced bullets in docs 2019-09-17 20:34:26 -04:00
Chris Langsenkamp
2e07a1600e Merge branch 'master' of https://github.com/vis2k/Mirror 2019-09-17 20:26:46 -04:00
Chris Langsenkamp
0827e98166 Updated ChangeLog 2019-09-17 20:26:06 -04:00
MrGadget
958e2ad612 Redefine SceneMessage (#1093)
* Redefine SceneMessage

* Add obsolete method

* Removed SceneLoader
2019-09-17 22:59:16 +02:00
Paul Pacheco
7ac43cd56a feat: Secure messages that require authentication, fixes #720 (#1089)
* feat: Secure messages that require authentication, fixes #720

* Rename the parameter for clarity

* Update Assets/Mirror/Runtime/MessagePacker.cs

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

* Update Assets/Mirror/Runtime/MessagePacker.cs

Co-Authored-By: MrGadget <chris@clevertech.net>
2019-09-17 22:16:37 +02:00
Chris Langsenkamp
830850266a Merge branch 'master' of https://github.com/vis2k/Mirror 2019-09-17 11:42:58 -04:00
Chris Langsenkamp
43ca454323 Culling docs in favor of API 2019-09-17 11:42:25 -04:00
vis2k
1087c63740
Update logo 2019-09-17 12:46:55 +02:00
MrGadget
56bcb02c15 feat: Authentication Framework (#1057)
* Component-based Authentication

* Capitalized IsAuthenticated

* Added isAuthenticated to NetworkConnection

* Removed activeAuthenticator as unnecessary

* Removed unnecessary using

* Added more comments

* Documentation

* Added cs to code blocks in doc

* fixed typo in doc

* Doc improvements

* Fixed another typo in doc

* Removed HideInInspector

* Updated doc and image

* Fixed comment

* Added inspector header and tooltips

* Fixed typo

* Add AuthenticationData object

* Add a bullet point in the doc about AuthenticationData

* Updated screenshot image

* Added HelpURL attribute

* Added Initializers for both Server and Client

* Fixed doc grammar and phrasing

* Forgot to add the ClientInitialize in StartHost

* Updated doc with info about the initializers

* Changed initializers from bool to void.

* Eliminated the abstract model and renamed to NetworkAuthenticator and made all methods virtual

* Fixed comment

* Fixed typo

* Doc cleanup

* Doc Cleanup

* authenticator RemoveAllListeners in StopServer and StopClient

* Update Assets/Mirror/Runtime/NetworkManager.cs

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

* Changes requested by Vis

* reverted conflicting change

* Revert "reverted conflicting change"

This reverts commit f65870e073.

* UnityEditor.Undo.RecordObject

* made the name camelCase

* Added internal methods and On prefix to methods

* Reverted this change so it can be done in a separate PR

* Moved authenticator calls to after runInBackground

* Add built-in timeout feature

* Changed UnityEditor.Undo.RecordObject to use gameobject

* Convert to Abstract, add Basic Authenticator, update docs.

* Removed timeout, against my better judgement.

* Removed the rest of timeout, still against my better judgement

* Fixed event listener mappings

* Renamed and consolidated methods

* updated doc and image

* made OnClientAuthenticate and OnServerAuthenticate abstract

* Updated Debug log msgs

* changed to authenticator != null

* Renamed to NetworkAuthenticator
2019-09-17 10:41:04 +02:00
Paul Pacheco
e67035e971 Add profiler hooks (#1086)
* Add profiler hooks

* Polish API a bit

Now if we want to add more fields,  we can do so without
breaking profilers

* Provide documentation for the profiler data

* Use -1 channel until we implement this feature

* Use C# events instead of UnityEvent

* Simplify message info structure

* Renamed class

* Send -> OnSend
Receive -> OnReceive

* Update Assets/Mirror/Runtime/NetworkConnection.cs

* Update Assets/Mirror/Runtime/NetworkDiagnostics.cs

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

* Update NetworkDiagnostics.cs
2019-09-17 08:45:51 +02:00
MrGadget
5bf6c49a68
Merge pull request #1088 from SoftwareGuy/patch-1
Update Ignorance.md
2019-09-17 01:42:32 -04:00
Coburn
898ee1bece
Update Ignorance.md
17 Sep 2019 update
2019-09-17 15:39:31 +10:00