Commit Graph

20 Commits

Author SHA1 Message Date
Andrew Lott
4336666420
Update Dev Server docs for Kcp Transport (#2470)
* Mention Custom UDP SG rule for Kcp Transport

Since Kcp Transport is now the default in Mirror, let's update the docs to reflect that the SG needs to have a UDP rule to allow network traffic to reach the server.

* Mention UDP Firewall rule for Kcp Transport

Since Kcp Transport is now the default in Mirror, let's update the docs to reflect that a UDP rule is necessary in order to allow network traffic to reach the server.
2020-11-28 12:11:52 +08:00
MrGadget1024
7de02aef55 doc: fixed example code to use struct with NetworkMessage 2020-11-19 13:48:17 -05:00
Matt Gutermuth
d06de6d9ce
Update index.md (#2391)
Update AWS Link in DevServer index.md
2020-11-03 21:42:57 +01:00
MrGadget1024
b4df9b63f7 doc: Updated NetworkMessages doc 2020-10-31 17:12:24 -04:00
MrGadget1024
2a9884c758 doc: Updates RemoteActions doc 2020-10-30 22:57:09 -04:00
Chris Langsenkamp
048033faa6 Updated docs for NetworkMessage 2020-10-21 18:04:33 -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
914411ad24
Update index.md 2020-10-13 03:23:09 +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
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
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
7e7b1405ec
Update toc.yml 2020-09-17 16:13:35 +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