Commit Graph

451 Commits

Author SHA1 Message Date
James Frowen
0c449da179
docs: allowing .unitypackage to be used 2020-10-22 15:15:58 +01:00
MrGadget1024
150fd1160a Replaced package with zip file 2020-10-22 09:47:28 -04:00
Chris Langsenkamp
b7fcd0eb55 Added ScriptTemplates package to docs 2020-10-22 08:25:18 -04:00
Chris Langsenkamp
048033faa6 Updated docs for NetworkMessage 2020-10-21 18:04:33 -04:00
MrGadget
52de152245
Update Deprecations.md 2020-10-21 17:33:47 -04:00
James Frowen
59e91c8bec
moving page out of guides header (#2341)
* moving page out of guides header

* Community guides
* FAQ
* Resources

* updating note at top
2020-10-17 20:29:17 +01:00
James Frowen
b44cf7dbcf
docs: Updating transport docs (#2337)
* updating transport pages on litenetlib and simpleweb transports

* updating other pages to reference new transports

* updating links for new transports
2020-10-16 19:01:39 +01:00
James Frowen
914411ad24
Update index.md 2020-10-13 03:23:09 +01:00
James Frowen
5db733e566
Update index.md 2020-10-09 02:35:31 +01:00
Paul Pacheco
31b07ae02f
breaking: no need to override Serialize/Deserialize in messages (#2317)
* breaking: no need to override Serialize/Deserialize in messages

Messages no longer serilize themselves.  This has been decoupled.  Serializing a message is now done
via readers and writers, which can be either generated or user provided.

This lifts some restrictions,
* you no longer need to have a default constructor in messages
* Messages types can be recursive
* struct Messages don't need to provide an empty Serialize and Deserialize method

Before:
```cs
public struct ReadyMessage : IMessageBase
{
    public void Deserialize(NetworkReader reader) { }

    public void Serialize(NetworkWriter writer) { }
}
```

After:
```cs
public struct ReadyMessage : IMessageBase
{
}
```

BREAKING CHANGE: Messages must be public
BREAKING CHANGE: Use custom reader and writer instead of Serialize/Deserialize methods

* Remove unused method

* remove unused methods

* remove unused methods

* make all messages struct

* Fix test code generator

* Get rid of MessageBase

* Rename IMessageBase -> NetworkMessage

* add MessageBase as obsolete

* Use a default request

* Empty file to make asset store happy

* Apply suggestions from code review

Co-authored-by: James Frowen <jamesfrowendev@gmail.com>

Co-authored-by: James Frowen <jamesfrowendev@gmail.com>
2020-10-06 09:31:02 +02:00
Paul Pacheco
80e27627f7
jagged arrays are fine 2020-10-05 16:26:19 -05:00
Paul Pacheco
90834d476b Document how to use new synclists 2020-10-02 13:56:20 -05:00
Morten Nørgaard
49c2f1bc5c
Update Profiler.md (#2304)
Added missing info on how to download the profiler tool via Discord.
2020-10-02 09:10:05 +02:00
James Frowen
16c919eae9
Update index.md 2020-10-01 17:03:15 +01:00
James Frowen
b82f4a1f34
Update NetworkRigidbody.md 2020-09-27 11:44:46 +01:00
Tikadze
22e2f97bd3
Update NetworkPingDisplay.md (#2278) 2020-09-27 11:42:41 +01:00
Tikadze
ed0433d6bc
Update NetworkManager.md (#2277) 2020-09-27 11:42:32 +01:00
Tikadze
c3f8e37cdd
Update NetworkManager.md (#2274) 2020-09-26 17:10:44 +01:00
Tikadze
3b32556a53
Update NetworkManager.md (#2273) 2020-09-26 17:10:31 +01:00
James Frowen
f953038767
Update index.md 2020-09-26 11:39:37 +01:00
James Frowen
e2bcb921ae
Update Authority.md
Trying to make page more clear and concise
2020-09-24 14:30:06 +01:00
James Frowen
783c6d2174
Update index.md
fixing links at top
2020-09-21 12:27:54 +01:00
Patrik Daňo
8286062d9d
Fix the logo position (#2265) 2020-09-19 20:12:09 +02:00
vis2k
c776b88e69 docs: background updated 2020-09-19 11:09:00 +02:00
vis2k
d9cb416501 docs: logo size fixed 2020-09-19 11:02:17 +02:00
vis2k
e569754962 docs: favicon updated 2020-09-19 10:16:15 +02:00
vis2k
112408e0eb docs: logo updated 2020-09-19 10:08:14 +02:00
James Frowen
13be048f81
Update toc.yml
removing ? from toc
2020-09-17 23:59:28 +01:00
James Frowen
fd80ef734b
Update TCPvsUDP.md 2020-09-17 23:38:25 +01:00
James Frowen
a03df2b8d5
Update index.md
* adding list
* adding node at bottom on how to submit
2020-09-17 23:18:09 +01:00
James Frowen
1370085f2e
Adding user guide mirror quick start guide (#2239)
* adding Mirror Quick Start Guide

* proof read
2020-09-17 22:42:43 +01:00
James Frowen
b1429df53a
Update toc.yml 2020-09-17 16:15:51 +01:00
James Frowen
7e7b1405ec
Update toc.yml 2020-09-17 16:13:35 +01:00
James Frowen
71dd5835ad
Update index.md
making links include Network
2020-09-17 00:29:55 +01:00
James Frowen
514a61d8d3
Docs tcp vs udp (#2257)
* renaming page

* changing start and end blocks

* updating blocks on tcp and udp

* moving lines above features

* moving links to header
2020-09-17 00:28:40 +01:00
James Frowen
b86a611674
Restructure docs (#2249)
* moving all guides to Articles folder

* updating toc for root and articles

* fixing toc

* css on side toc

* fixing links on index
2020-09-16 22:27:05 +01:00
James Frowen
8b9178faa8
Update main.css
using inherit so color is only in 1 place
2020-09-15 12:14:08 +01:00
James Frowen
4b5b9d9181
Update toc.yml 2020-09-15 12:05:11 +01:00
James Frowen
1025d6a5ef
Update main.css
autoformatting
removing duplicate .sidefilter  block
2020-09-15 11:56:22 +01:00
James Frowen
8461428b13
moving favicon to templates (#2253) 2020-09-15 11:52:51 +01:00
James Frowen
feca6417de
remoivng sub folder from templates (#2252) 2020-09-15 11:52:43 +01:00
James Frowen
f1a028f09c
renaming user guides to Community guides (#2251) 2020-09-15 11:47:03 +01:00
James Frowen
34eb9e5c68
updating docfx.json (#2238) 2020-09-15 11:44:08 +01:00
James Frowen
5a95ae6fe3
Update FAQ.md 2020-09-13 16:52:33 +01:00
James Frowen
6411013253
Update FAQ.md 2020-09-13 13:57:34 +01:00
James Frowen
6186aeb9d9
Update Resources.md 2020-09-13 12:28:55 +01:00
James Frowen
f302e2e8bf
Update BestPractices.md 2020-09-13 12:28:09 +01:00
James Frowen
d147bbbb38
docs: adding new pages (#2237) 2020-09-12 23:19:42 +01:00
Trentish
63c7fd6214
Typo on NetworkBehaviourCallbacks.md (#2235) 2020-09-12 16:45:10 +02:00
vis2k
9f53382bdd doc style update to black 2020-09-09 12:16:03 +02:00