Commit Graph

73 Commits

Author SHA1 Message Date
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
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
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