Commit Graph

64 Commits

Author SHA1 Message Date
Paul Pacheco
e6853198b5 docs: use block quotes for notes 2019-08-20 08:29:55 -05:00
Paul Pacheco
9c48b66625 docs: Group the warnings 2019-08-20 07:33:58 -05:00
Paul Pacheco
ed10102ebd
docs: Document correct sync set initialization 2019-08-19 16:55:49 -05:00
Paul Pacheco
8fc939c044
docs: Document correct syncset initialization 2019-08-19 16:54:51 -05:00
Paul Pacheco
8aadd245fd
Document correct dictionary initialization 2019-08-19 16:52:41 -05:00
Paul Pacheco
750f17e95f
Document list initialization 2019-08-19 16:48:38 -05:00
MrGadget
7d016aebec
Update SyncLists.md 2019-08-10 19:09:18 -04:00
Paul Pacheco
bc5aed457d
fix grammar 2019-08-01 09:54:33 -05:00
Chris Langsenkamp
2f7b77a27d Fixed Titles 2019-07-19 20:05:55 -04:00
Chris Langsenkamp
17b61b5e6f Updated SyncVar Hook doc 2019-07-19 20:00:49 -04:00
Chris Langsenkamp
2bd922ffdf Fixed exta space between ``` and cs 2019-07-07 01:52:37 -04:00
Chris Langsenkamp
072d31f85c Updated NetworkConnection Doc 2019-06-26 03:13:16 -04:00
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