MichalPetryka
7181cd9ca1
perf: use 0 for null strings ( #926 )
...
* Use 0 for null strings
* Fix test
* No need for special case for ""
* No need for special case for ""
* Update Assets/Mirror/Runtime/NetworkReader.cs
Co-Authored-By: Paul Pacheco <paulpach@gmail.com>
2019-06-27 08:01:57 -05:00
emotitron
205bb73669
Changed NST link ( #937 )
2019-06-27 09:21:36 +02: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
172086fcb5
Updated NetworkLobbyManager Doc
2019-06-25 13:38:10 -04:00
vis2k
6bc65d500a
Telepathy.dll dummy file to overwrite old Telepathy.dll for people that update via Asset Store
2019-06-25 18:39:09 +02:00
MichalPetryka
21ca49d1be
perf: Use 0 for null byte arrays ( #925 )
...
* Use 0 for null byte arrays
* Update Assets/Mirror/Runtime/NetworkWriter.cs
Co-Authored-By: Paul Pacheco <paulpach@gmail.com>
* Update comments
* Update Assets/Mirror/Runtime/NetworkReader.cs
Co-Authored-By: Paul Pacheco <paulpach@gmail.com>
* Update Assets/Mirror/Runtime/NetworkReader.cs
Co-Authored-By: Paul Pacheco <paulpach@gmail.com>
2019-06-25 13:53:43 +02:00
vis2k
5f05e2fd02
Don't always log scene index hash message on start anymore. SceneIds work fine now.
2019-06-25 11:03:24 +02:00
vis2k
8a190bfd17
fix: TelepathyTransport.ToString UWP exception
2019-06-25 10:34:26 +02: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
Chris Langsenkamp
438084e8b9
Updated Network Transform Child Doc & Image
2019-06-25 00:58:58 -04:00
Chris Langsenkamp
b16671007f
Updated Network Proximity Checker Doc
2019-06-25 00:36:50 -04:00
Chris Langsenkamp
4cffd8f505
Updated Network Transform Doc & Image
2019-06-24 21:01:27 -04:00
Chris Langsenkamp
f71a33cde5
Updated Network Start Position Doc
2019-06-24 20:41:42 -04:00
Chris Langsenkamp
b856f66c9b
Updated Network Manager Doc
2019-06-24 20:33:33 -04:00
vis2k
c4a18cd8a4
Telepathy source drop-in for easier debugging
2019-06-24 17:49:01 +02:00
vis2k
315508dec0
NetworkWriterPool meta file
2019-06-24 17:47:52 +02:00
Paul Pacheco
f5e93180a1
feat: network writer pool to avoid expensive allocations ( #928 )
2019-06-24 14:49:42 +02:00
Paul Pacheco
ced36906bc
perf: return the contents of the writer as an array segment ( #916 )
...
* Return the contents of the writer as an array segment
* Use a safer ToArraySegment method and add some comments
* refactor: for readability and debuggability
* Test that ToArraySegment works
* Updated with master
* Update NetworkWriter.cs
2019-06-23 21:19:48 +02:00
Paul Pacheco
7b3e82a1fc
perf: remove BinaryWriter, it allocates like crazy ( #929 )
...
* perf: remove BinaryWriter, it allocates like crazy
* useless comment
* Update NetworkWriter.cs
2019-06-23 20:43:39 +02:00
Paul Pacheco
b2ba5896fa
perf: remove syncvar boxing ( #927 )
2019-06-23 10:02:30 -05:00
Chris Langsenkamp
d1780e1c3f
Updated Images and removed one unused image
...
Updated Network Animator Doc
Updated Network Identity Doc
2019-06-23 03:46:05 -04:00
MichalPetryka
9e911b9d5e
Add byte array test ( #922 )
2019-06-21 22:58:36 +02:00
vis2k
488446ae04
fix: Telepathy already supports IPv6, but can no also connect to IPv4-only servers again (e.g. Mirror Booster)
2019-06-21 12:15:52 +02:00
Paul Pacheco
87b6ddf0e9
Use local variable instead of static variable
2019-06-20 18:03:08 -05:00
MichalPetryka
981ba7c2b3
fix: ArraySegment<byte> work in Messages ( #919 )
...
Add ArraySegment<byte> tests and make them pass
2019-06-20 13:11:06 -05:00
Paul Pacheco
81fb419840
Syntax simplification
2019-06-20 08:33:39 -05:00
Paul Pacheco
493f9c20c6
Remove unnecesary using
2019-06-20 08:30:57 -05:00
Paul Pacheco
4ebebabf9c
Remove unnecesary using
2019-06-20 08:30:37 -05:00
Paul Pacheco
ee5a3e946e
remove unused field
2019-06-20 08:28:15 -05:00
Paul Pacheco
1a26c78059
Removed unused fields
2019-06-20 08:25:42 -05:00
Paul Pacheco
072a049bfa
Add unit tests for array writer
2019-06-20 07:36:04 -05:00
MrGadget
115ca159d6
Merge pull request #917 from MrGadget1024/master
...
Revert "doc: messages can be struct now"
2019-06-19 14:24:10 -04:00
Chris Langsenkamp
79f7c81520
Revert "doc: messages can be struct now"
...
This reverts commit bb72643c1e
.
2019-06-19 14:22:40 -04:00
Paul Pacheco
bb72643c1e
doc: messages can be struct now
...
Messages can be classes or structs. Structs should be preferred when possible, so document them as such.
2019-06-19 12:53:14 -05:00
MrGadget
dad2126861
Update ChangeLog.md
2019-06-19 11:07:45 -04:00
MrGadget
fe55626299
Update ChangeLog.md
2019-06-19 10:04:07 -04:00
Paul Pacheco
31b104d194
Order modifiers
2019-06-19 08:17:13 -05:00
Paul Pacheco
c8e18a1086
Made field readonly
2019-06-19 08:16:47 -05:00
Paul Pacheco
a2fc1f810b
Removed unused parameter
2019-06-19 08:16:26 -05:00