Commit Graph

38 Commits

Author SHA1 Message Date
Paul Pacheco
552aa3512e
docs: Don't repeat case 2019-04-03 06:35:30 -05:00
Paul Pacheco
72150d9946
docs: Explain how to use SortedList
SyncDictionary support any IDictionary implementation.  

This explains how to use `SortedList` or any other IDictionary implementation.
2019-04-03 06:34:25 -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
6e19a5b664
Update Attributes.md 2019-03-30 10:30:30 -04:00
MrGadget
7c2d92235f
Update SyncVars.md 2019-03-30 10:20:02 -04:00
MrGadget
cfbec28c60
Update SyncEvent.md 2019-03-30 09:54:31 -04:00
MrGadget
805f0395e5
Update index.md 2019-03-30 09:49:28 -04:00
MrGadget
02992da7af
Update index.md 2019-03-30 09:47:15 -04:00
MrGadget
e3928cde15
Update index.md 2019-03-30 09:38:31 -04:00
MrGadget
51433b5ef3
Create SyncEvent.md 2019-03-30 09:37:52 -04:00
MrGadget
184d0868bf
Create SyncVars.md 2019-03-30 09:36:27 -04:00
MrGadget
181fddff7a
Update index.md 2019-03-30 09:32:20 -04:00
MrGadget
1fdbb3937e
Update index.md 2019-03-30 08:23:39 -04:00
MrGadget
18e4382c32
Update index.md 2019-03-30 08:15:33 -04:00
MrGadget
049bc96138
Update SyncSortedSet.md 2019-03-30 08:10:38 -04:00
MrGadget
63e297b625
Update SyncSortedSet.md 2019-03-30 08:09:43 -04:00
MrGadget
f3dc1a21c7
Create SyncSortedSet.md 2019-03-30 08:09:09 -04:00
MrGadget
3cd2400431
Update NetworkServer.md 2019-03-27 15:30:55 -04:00
MrGadget
2a727b3d89
Added description for SyncEvent 2019-03-26 11:17:07 -04:00
MrGadget
6c52eaf11b
Update SyncVarHook.md 2019-03-24 18:53:51 -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
d823c8fe96
docs: improve synclist elevator statement 2019-03-23 07:26:33 -05:00
Paul Pacheco
b91b14f0b6
docs: rewrote synclist docs
Don't focus on what was changed from HLAPI.
Instead document what synclists are first.  Then list the differences.
2019-03-23 07:24:02 -05:00
MrGadget
b544127561
Create SyncHashSet.md 2019-03-22 09:51:29 -04:00
MrGadget
fa4d6d3f78
Create SyncDictionary.md 2019-03-22 09:50:43 -04:00
Paul Pacheco
0fc408b3ea docs: document synclists 2019-03-20 06:49:27 -05:00
Chris Langsenkamp
44c9c0a672 Update Attributes.md (#398)
Removed NetworkHash128 and NetworkInstanceId from the types list.
2019-02-10 10:57:26 -06:00
Chris Langsenkamp
04e54e17ff Update SyncLists.md (#397)
Cleaned up type list and indentations / formatting
Added comment about using OnStartClient vs Start
2019-02-10 10:57:07 -06:00
Jason
8756f28eac Callback functionality was incorrectly represented (#393)
Callback functionality is achieved through event handling. I've updated the documentation here to better represent a generic SyncList as well as a custom data type.
2019-02-10 08:27:33 -06:00
Jason
38033f0a11 PlayerControllers deprecated (#378)
* PlayerControllers deprecated

Please see commit 1e61aaa05a

PlayerControllers property was deprecated.

* Update NetworkConnection.md

Please review the proposed change... I'm not sure this will suffice documentation standards as I'm still new to the project.
2019-02-06 14:34:30 -06:00
Jason
81430c8cdc Dictionary 'objects' is no longer present in NetworkServer class
Please see commit d979a45870

The objects property has been deprecated and is handled by `NetworkIdentity.spawned` dictionary at this time.
2019-02-06 11:18:46 -06:00
Chris Langsenkamp
bc857796f5 Update Attributes.md (#363)
Fixes #335 along with the content added to https://github.com/vis2k/Mirror/blob/master/docs/Concepts/Communications/RemoteActions.md where TargetRpc is fully described with a proper example.

Also filled in the other descriptions.
2019-01-30 20:08:47 -06:00
Chris Langsenkamp
847759e055 Rename SyncVarHook to SyncVarHook.md 2019-01-07 12:40:30 -06:00
Chris Langsenkamp
e0fd799100 added cs to code markdown 2019-01-07 11:10:41 -06:00
Chris Langsenkamp
d7e3f79800 Added link to SyncVarHook 2019-01-07 11:10:19 -06:00
Chris Langsenkamp
a4783094bd Create SyncVar Hook page 2019-01-07 11:09:35 -06:00
Paul Pacheco
01f859c34d localConnections is no more 2019-01-06 09:52:17 -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