Commit Graph

48 Commits

Author SHA1 Message Date
MrGadget
5577e451ea
Update Authentication.md
code formatting
2019-08-06 12:50:13 -04:00
Chris Langsenkamp
d2439643ad Updated Remote Actions doc 2019-07-19 03:16:49 -04:00
Chris Langsenkamp
9592e559a7 Updated Customizing Network Visibility doc 2019-07-19 03:13:56 -04:00
Chris Langsenkamp
d7e7dfc6ef Updated Custom Player Spawning doc 2019-07-19 01:51:55 -04:00
Chris Langsenkamp
81f2d07e7f Updated Spawn Object Custom doc 2019-07-15 12:54:04 -04:00
Chris Langsenkamp
122e7e79b6 Updated Spawn Object doc and replace image 2019-07-15 09:19:35 -04:00
Chris Langsenkamp
a2d6cf23f8 Updated Remote Actions doc 2019-07-14 16:14:51 -04:00
Chris Langsenkamp
b280e9d0d1 Updated Remote Actions doc 2019-07-14 16:07:24 -04:00
Chris Langsenkamp
687d416511 Updated Visibility doc and removed unused image 2019-07-14 07:11:31 -04:00
Chris Langsenkamp
1867c93362 Updated ClientsServers doc 2019-07-14 06:58:50 -04:00
Chris Langsenkamp
bb7602e00b Updated Network Messages doc 2019-07-14 06:52:16 -04:00
Chris Langsenkamp
84fd999433 Updated Network Clients and Servers doc 2019-07-13 09:00:01 -04:00
Chris Langsenkamp
4c8beb7d96 Removed Concepts/Setup doc and related / unused images as redundant to Getting Started doc in General. 2019-07-09 08:49:09 -04:00
Chris Langsenkamp
9e05d01880 Updated ClentsServers doc 2019-07-09 07:42:08 -04:00
Chris Langsenkamp
b4242aad80 Replaced General doc content with HLAPI doc content and removed HLAPI doc and moved images to General folder 2019-07-07 08:33:00 -04:00
Chris Langsenkamp
df22297c9d Removed Mobile Tips doc 2019-07-07 08:25:16 -04:00
Chris Langsenkamp
efa60c7349 Removed Debugging page 2019-07-07 08:19:49 -04:00
Chris Langsenkamp
bbc257722b Added cs to code blocks 2019-07-07 02:05:45 -04:00
Chris Langsenkamp
2bd922ffdf Fixed exta space between ``` and cs 2019-07-07 01:52:37 -04:00
Chris Langsenkamp
a20d9a1795 Replaced excessive use of 'GameObject' with 'game object' in docs 2019-07-07 01:48:00 -04:00
Chris Langsenkamp
7348ab3ecd Updated Authentication doc 2019-07-06 16:32:21 -04:00
Chris Langsenkamp
79f7c81520 Revert "doc: messages can be struct now"
This reverts commit bb72643c1e.
2019-06-19 14:22:40 -04:00
Paul Pacheco
bb72643c1e
doc: messages can be struct now
Messages can be classes or structs.   Structs should be preferred when possible,  so document them as such.
2019-06-19 12:53:14 -05:00
MrGadget
0219bc2d76
Update Authentication.md 2019-05-06 19:49:11 -04:00
MrGadget
daddae3c11
Update RemoteActions.md 2019-04-26 12:05:15 -04:00
Paul Pacheco
659eeb2c05 docs: use C# syntax highlight 2019-04-10 06:38:48 -05:00
Paul Pacheco
84a67f1dac
Update Authentication.md 2019-04-04 12:35:33 -05:00
Paul Pacheco
673ebe4e87
doc: Warn about encryption fix #719 2019-04-04 12:28:05 -05:00
Paul Pacheco
695979e914
feat: Add SyncHashSet and SyncSortedSet (#685)
* feat: Add SyncHashSet and SyncSorted set
2019-03-30 11:51:06 -05:00
MrGadget
b061208fc8
Update StateSync.md 2019-03-30 10:31:29 -04:00
MrGadget
a39a1735cb
Delete StateSyncAdvanced.md 2019-03-30 10:05:20 -04:00
MrGadget
49f9b5afcb
Update StateSync.md 2019-03-30 10:04:47 -04:00
Zac North
7d21bded9a feat(syncvar): Add SyncDictionary (#602)
* Added basic SyncDictionary support, no support for structs yet

* Fixed TryGetValue usage

* Removed extraneous hardcoded SyncDictionary type

* Added a couple basic tests, more coming

* Added 4 more tests

* Added two tests and SyncDictionary now bubbles item to Callback on Remove (both Remove cases)

* Added the remainder of tests

* Added basic documentation about SyncDictionaries on StateSync.md page

* Simplify test syntax

Co-Authored-By: Katori <znorth@gmail.com>

* Simplify test syntax

Co-Authored-By: Katori <znorth@gmail.com>

* Simplify test syntax

Co-Authored-By: Katori <znorth@gmail.com>

* Simplify test syntax

Co-Authored-By: Katori <znorth@gmail.com>

* Remove null-check when setting value directly (and updated expected test behaviour)

* fix: Provide default implementation for SyncDictionary serializers

* feat: Add Weaver support for syncdictionary

* Fix minor issue with Set code and made test use Weaved serialization instead of manual

* Added a new test for bare set (non-overwrite)

* Added another test for BareSetNull and cleaned up some tests

* Updated SyncDictionary documentation on StateSync.md

* Update docs with SyncDictionary info

* Update SyncDictionary docs wording

* docs: document the types and better example

* Add two SyncDictionary constructors

* Removed unnecessary initialization

* Style fixes

* - Merged many operation cases
- Fixed Contains method
- Added new test to test contains (and flag its earlier improper usage)
- Use PackedUInt32 instead of int for Changes and Counts

* - Simplify "default" syntax
- Use Rodol's remove method (faster)
- Don't use var

* Removed unnecessary newline, renamed <B, T> to <K, V> per vis2k, corrected wording of InvalidOperationException on ReadOnly AddOp

* Code simplification, style fixes, docs example style fixes, newly improved implementation for CopyTo that fails gracefully
2019-03-24 10:18:31 +01:00
Paul Pacheco
07e8b24bd8
Document authentication (#575) 2019-03-09 16:01:35 -06:00
Rodol Phito
a00a46cc83 Updated SpawnPlayerCustom.md 2019-03-08 22:22:04 -08:00
Paul Pacheco
c7b8f78aae #418 Send messages without id (#422)
* Client can send/receive messages without id

* Server can send and receive messages without id

* Move message id to one common place

* Client use the new send method

* Obsolete the message ids

* Remove player uses the new api

* Refactor AddPlayer with new message api

* Provide a Pack method that gets the message id

* Convert ready message to new api

* Use new api for ObjectDestroy and ObjectHide

* Refactored ready message to new API

* Refactored SpawnSceneObjectMessage to new api

* Convert local authority message to new api

* Convert spawn started message to new api

* Convert spawn finished message to new api

* Convert upate vars message to new api

* Convert owner message to new api

* Convert pong message to new api

* Convert RPC message to new api

* Convert SyncEvent rpc to new api

* Refactor Command to new api

* Refactor Ping to new api

* Convert ErrorMessage to new api

* Convert ErrorMessage to new api

* Use int instead of short for message id to avoid collisions

* Keep only 16 bit hash for message id

* Converted Disconnect Message to new api

* Convert Connect to new message api

* Convert not ready message to new api

* Convert scene message to new api

* the Enum is no longer used for message id

* Add non obsolete version of SendToClient

* Document how to use new API

With this PR,  we no longer use Message id,  document the proper use of the api

* use C# syntax highlight

* Update NetworkMessages.md (#5)

Punctuation changes, added `cs` to code blocks.

* Write message id in short instead of packed int

* Use packer method with id

* Pass the NetworkConnection to the client message handlers
2019-03-03 14:52:35 +01:00
rodolphito
d4d764fb53 Fixed erroneous documentation. (#485) 2019-02-28 11:54:11 +01:00
Chris Langsenkamp
bdc5ef01e8 Update SpawnObjectCustom.md (#396)
Replaced `NetworkHash128` with `System.Guid`
Added `cs` to code blocks
2019-02-10 10:56:45 -06:00
Chris Langsenkamp
38dc3895e3 Update RemoteActions.md (#395)
Removed NetworkHash128 and NetworkInstanceId from the list of allowed arguments
Added `cs` to code samples.
2019-02-10 10:56:18 -06:00
Chris Langsenkamp
a2e0651d7e Update StateSync.md (#394)
Fixed title capitalization and changed example to OnStartClient instead of Start
2019-02-10 08:44:45 -06:00
Chris Langsenkamp
d1626f7842 Add a virtual method that fires on the client right before scene change so devs can implement client-side work / prep / cleanup / visuals / etc. based on what scene is about to be loaded. (#383)
Documentation updates included.
2019-02-07 13:37:54 +01:00
Chris Langsenkamp
148aaeb6c5 Update RemoteActions.md (#362)
Fixes #339
2019-01-30 19:31:56 -06:00
uwee
ec8feea23d Remove mention of HLAPI multiple players (#352)
this is not supported by Mirror
2019-01-28 11:55:12 -06:00
Jason
ee780dc059 Update ClientsServers.md (#354)
NetworkClient.Connect() only supports a single argument - string serverIp. This documentation should be updated to reflect that difference. Please see ticket https://github.com/vis2k/Mirror/issues/341
2019-01-28 18:13:34 +01:00
uwee
d168903a3a Method parameters were changed in Mirror (#351)
Updated to match current Mirror
2019-01-27 20:11:11 -06:00
Chris Langsenkamp
e99a1be951 Fixed case of SyncListSTRUCT 2019-01-21 16:35:11 -06:00
konstantin890
4609ca1a29 Documentation: Fix typo in "Custom Player Spawning"
SyncVar attribute didn't have brackets
2018-12-31 19:31:35 -06:00
Chris Langsenkamp
76b75dbb9b New Documentation (#184)
* Documentation Outline

* Spacing adjustments

* Captured old wiki content

* yml fix

* Docs work

* resize images

* Replaced images

* Removed md from links

* Renamed Misty to Fizzy

* Captured Unity docs

* links cleanup

* clear links

* Cleanup and moved NetworkBehavior to Classes.

* added slashes to yml paths

* reverted slashes

* Fixes bad link

* Update Ignorance.md

This should be enough documentation for now, yeah?

* Localized images

* Update Ignorance.md

formatting updates

* Lots of Cleanup

* fix link

* Formatting

* fix code blocks

* Lots of content and cleanup

* fixed yml

* Added blank line

* Added spaces in titles

* tightened bullets

* Fixed bullet spacing

* Fixed more bullets

* unbolded content

* Cleanup and removal of empty pages
Updated README with links to docs pages

* Restored prior version

* Contributing

* Improvements to content

* lower case fix

* fix link

* renamed Contributions

* fixed link

* home page content

* Fixed Encoding

* Moved Why TCP

* Replaced Unity with Mirror

* Telepathy Description

* changed to h2

* Moved Sample down

* Removed dead links

* Copied Contributions
Added Test
Fixed h3's

* Fixed headings

* added to Test

* Fixed image alts and links

* fixed last alt
2018-12-26 16:07:24 -06:00