Commit Graph

52 Commits

Author SHA1 Message Date
Chris Langsenkamp
79b5fa0076 Updated NetworkClient Doc 2019-06-26 02:30:47 -04:00
Chris Langsenkamp
1d0fefcc5b Updated & Renamed NetworkBehavior Doc
Updated Navigation with name change
2019-06-26 02:10:24 -04:00
Chris Langsenkamp
36129aef83 Updated SyncVars Doc 2019-06-25 20:28:06 -04:00
Chris Langsenkamp
5178f06a81 Upodated SyncEvent Doc 2019-06-25 20:22:49 -04:00
Chris Langsenkamp
bfeb55555c Updated Classes index Doc 2019-06-25 19:43:56 -04:00
Chris Langsenkamp
c95a08a41c Updated NetworkServer Doc 2019-06-25 02:18:08 -04:00
Chris Langsenkamp
4ba027f9a6 Updated SyncSortedSet Doc 2019-06-25 02:00:42 -04:00
Chris Langsenkamp
2a64630572 Updated SyncHashSet Doc 2019-06-25 01:59:13 -04:00
Chris Langsenkamp
845da9fe70 Updated SyncVar Hook Doc 2019-06-25 01:41:22 -04:00
Chris Langsenkamp
f627fadded Update Attributes Doc 2019-06-25 01:41:07 -04:00
Chris Langsenkamp
cb5fdec0c9 Updated SyncDictionary Doc 2019-06-25 01:17:28 -04:00
Chris Langsenkamp
ea965c7e15 Updated SyncLists Doc 2019-06-25 01:11:37 -04:00
Paul Pacheco
99efd67992
docs: fix callback example for synclists 2019-04-11 09:14:07 -05:00
Paul Pacheco
51cfe0f76d
docs: Explain how to use other IList Impl 2019-04-03 06:40:34 -05:00
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