MrGadget
61fdd892d9
fix: return & continue on separate line ( #1504 )
...
* fix: return & continue on separate line
* Update Assets/Mirror/Runtime/Transport/Telepathy/Server.cs
2020-02-17 16:48:41 +01:00
Chris Langsenkamp
c70a43b431
Removed ClientServers doc
2020-02-16 18:07:25 -05:00
Chris Langsenkamp
c0e4c033e9
Replaced RoomManager image
2020-02-15 16:25:42 -05:00
MrGadget
ecc0659b87
feat: Check for client authority in NetworkAnimator Cmd's ( #1501 )
2020-02-15 16:18:01 +01:00
MrGadget
8b359ff6d0
feat: Check for client authority in CmdClientToServerSync ( #1500 )
2020-02-15 08:33:14 +01:00
MrGadget
7bb80e3b79
feat: NetworkSceneChecker use Scene instead of string name ( #1496 )
...
* NetworkSceneChecker use Scene instead of string name
* Added comment
2020-02-15 08:32:34 +01:00
MrGadget
4c4a52bff9
fix: Host Player Ready Race Condition ( #1498 )
2020-02-15 08:32:12 +01:00
Chris Langsenkamp
da79d69ea6
Updated Authentication doc
2020-02-14 18:26:23 -05:00
Chris Langsenkamp
03ce7031ee
Replaced Steam Transport Image
2020-02-14 10:16:22 -05:00
Chris Langsenkamp
1662c5a139
fix: Fixed NetworkRoomManager Template
2020-02-14 00:45:04 -05:00
Chris Langsenkamp
853e5ab7d7
Simplified Additive example code
2020-02-12 20:09:37 -05:00
Chris Langsenkamp
01b2ed9d6e
Updated NetworkSceneChecker doc
2020-02-12 14:18:56 -05:00
Paul Pacheco
6aa2d001e2
docs: document scriptable objects ( #1494 )
2020-02-12 08:39:38 -06:00
Chris Langsenkamp
22c8d3da5f
Updated Transport docs
2020-02-11 19:16:29 -05:00
Derek S
3277fce728
Updated Discord-Mirror docs ( #1493 )
...
* Updated Discord-Mirror docs
* Update doc/Transports/DiscordMirror.md
Co-Authored-By: MrGadget <chris@clevertech.net>
Co-authored-by: MrGadget <chris@clevertech.net>
2020-02-11 19:09:23 -05:00
Chris Langsenkamp
2a9934f879
Tranports doc update
2020-02-11 18:28:31 -05:00
Chris Langsenkamp
e467921377
fixed obsolete comment
2020-02-11 11:55:22 -05:00
Chris Langsenkamp
79708d94a2
breaking: bump version to 10
2020-02-11 09:39:06 -05:00
Chris Langsenkamp
5c8bf26a9f
Updated ChangeLog
2020-02-10 18:00:05 -05:00
MrGadget
0e80e1996f
feat: Block Play Mode and Builds for Weaver Errors ( #1479 )
...
* WIP first draft
* Much closer now
* Whoop! There it is!
* Added comment
* Restore Player
* Moved WeaveFailed back where it was
* Restore delegate wireup
* Moved the delegate wireup and added comments
* Formatted comment and error message
* Added comment
* Use a separate session bool
* Code formatting
* Delete Mirror.Editor.asmdef
* Add Debug
* No WeaveExistingAssemblies
* Revert "No WeaveExistingAssemblies"
This reverts commit 50d4790ee4
.
* Revert "Add Debug"
This reverts commit 185b403361
.
* Revert "Delete Mirror.Editor.asmdef"
This reverts commit f7647cce3f
.
* Update Assets/Mirror/Editor/Mirror.Editor.asmdef
* Update Assets/Mirror/Editor/Mirror.Editor.asmdef
* reverted changes to Mirror.Editor.asmdef
* Re-applied change to Mirror.Editor.asmdef
* commented Debug line
2020-02-10 23:23:34 +01:00
MrGadget
bb55baa679
feat: Disposable PooledNetworkReader / PooledNetworkWriter ( #1490 )
...
* Inherit IDisposable
* using NetworkWriter from pool
* Remove Recycles
* Add comments to Recycle
* Add comments to Recycle
* using NetworkReader from pool
* Unity doesn't like the simplified form
* combined usings
* Updated Reader / Writer Tests
* wip
* Disposable NetworkReaderPool:NetworkReader
* uncomment NetworkDiagnostics.OnReceive
* Removed unnecessary constructor
* Implemented NetworkWriterPool : NetworkWriter
* code cleanup
* Separated classes: PooledNetworkReader / PooledNetworkWriter
* Removed blank line
* Update Assets/Mirror/Tests/Editor/NetworkReaderTest.cs
* Test restored
Co-authored-by: Paul Pacheco <paulpach@gmail.com>
2020-02-10 22:26:55 +01:00
Chris Langsenkamp
436d8fe831
fixed xml comment
2020-02-10 16:18:11 -05:00
Chris Langsenkamp
745aea8f9a
Added Deprecated dates to Obsoletes
2020-02-10 16:14:22 -05:00
Chris Langsenkamp
67deaeaa76
Updated Chnagelog
2020-02-10 08:14:20 -05:00
Paul Pacheco
0f10c72744
feat: supports scriptable objects ( #1471 )
...
* feat: supports scriptable objects
Now you can pass scriptable objects in commands, rpcs and syncvars
For example:
```cs
class Weapon: ScriptableObject
{
public string name;
public string description;
public int damage;
...
}
class Player : NetworkBehaviour
{
[SyncVar]
Weapon equipped;
...
}
```
Scriptable objects will be created in the client using
ScriptableObject.CreateInstance. If users want something else
they can provide a custom serializer (that has not changed)
* fix: remove scriptableobject error Tests
The test that checks that scrscriptableobjects give error is no
longer valid
2020-02-09 20:16:13 +01:00
Chris Langsenkamp
ab6a03b9fa
remove SerializeField attribute
2020-02-08 21:08:38 -05:00
Chris Langsenkamp
831db2f033
Updated comments
2020-02-08 21:07:39 -05:00
Chris Langsenkamp
6431c28a12
OnEnable is safer than Awake
2020-02-08 21:02:22 -05:00
Bug
64a59407ef
Update ClientsServers.md ( #1489 )
...
NetworkServer.Listen(int) receives a maximum number of connections, not a port.
ref: https://mirror-networking.com/docs/api/Mirror.NetworkServer.html?q=NetworkServer
2020-02-08 14:49:41 -05:00
FirstGearGames
f5a7c6aa9f
Fixed missing video link image. ( #1487 )
2020-02-07 17:50:22 -05:00
FirstGearGames
d05a46101e
Added video tutorial link. ( #1488 )
2020-02-07 17:50:05 -05:00
MrGadget
90d92fc0cf
Add headless check to Discovery ( #1485 )
2020-02-07 12:13:09 +01:00
vis2k
9f7c30c1ac
fix #1475 : isClient is true in OnDestroy on host/client mode again. Reverts commit d00c95bb55
( #1483 )
...
* fix #1475 : isClient is true in OnDestroy on host/client mode again. Reverts commit d00c95bb55
* add comment
* ClientScene.InternalAddPlayer doesn't need to set isClient anymore
2020-02-07 10:14:54 +01:00
Chris Langsenkamp
82a4af9a62
updated ChangeLog
2020-02-06 20:19:12 -05:00
Chris Langsenkamp
626f084a87
updated example code
2020-02-06 19:32:18 -05:00
Chris Langsenkamp
c06ea6b6c8
Fix comment
2020-02-06 11:51:38 -05:00
vis2k
0d1ac4affc
ProjectSettings resaved
2020-02-06 13:40:19 +01:00
vis2k
3568dc356c
NetworkIdentityTests: HostMode isLocalPlayer check added
2020-02-06 13:16:13 +01:00
vis2k
85e9a0aa13
NetworkIdentityTests: HostMode isServer/isClient/isLocalPlayer test added
2020-02-06 12:42:19 +01:00
vis2k
09ec344821
NetworkIdentityTests: OnStartServer isServer/isClient/isLocalPlayer test added
2020-02-06 12:36:36 +01:00
MrGadget
58df3fd6d6
feat: Added Read<T> Method to NetworkReader ( #1480 )
...
* Added Read<T> Method
* Renamed to ReadMessage
2020-02-06 11:39:39 +01:00
MrGadget
02e4245f3d
BREAKING: Rename NetworkWriter Write<T>to WriteMessage ( #1482 )
2020-02-06 11:38:54 +01:00
Chris Langsenkamp
1c58891e32
Formatted comment and error message
2020-02-05 10:29:49 -05:00
Chris Langsenkamp
86a2c6f52c
Added comments for WeaveFailed
2020-02-05 10:15:09 -05:00
Chris Langsenkamp
4108b79340
Code cleanup
2020-02-05 00:53:14 -05:00
Chris Langsenkamp
e3b299fec4
Updated ScriptTemplates doc
...
Removed zip file
2020-02-04 19:45:00 -05:00
Chris Langsenkamp
34fc52bd50
Added empty AddComponent attribute
2020-02-04 15:05:57 -05:00
Chris Langsenkamp
c7e269d0c5
Removed extraneous comment
2020-02-04 14:55:42 -05:00
vis2k
f614bc8f3a
Icon updated for transparent border
2020-02-04 20:53:48 +01:00
Chris Langsenkamp
ed44c1b77d
Updated ChangeLog
2020-02-04 12:42:27 -05:00