Commit Graph

2133 Commits

Author SHA1 Message Date
Paul Pacheco
bc5aed457d
fix grammar 2019-08-01 09:54:33 -05:00
vis2k
6dc47c2755 ProjectSettings define saved 2019-08-01 11:45:08 +02:00
Zac North
7ed4a9a1e0 feat(websocket): Re-enable native SSL (#965)
* fix(websocket): Internal implementation fixes re-enabling SSL while retaining performance

* Catch normal exceptions if they occur

* Catch another WebSocket exception

* Make sure the stream still exists before we try to write to it

* fix(websocket): Only use the new sending technique if the stream is an SslStream

* fix(websocket): Use a better path generation strategy so a leading slash is not required
2019-07-31 23:01:43 +02:00
Balázs Faludi
2ca2c488ac fix: SceneId was not set to 0 for prefab variants (#976) (#977)
* fix: SceneId was not set to 0 for prefab variants (#976)

* Update NetworkIdentity.cs
2019-07-31 10:28:34 +02:00
Paul Pacheco
246a551151 perf: AddPlayerMessage is now a value type 2019-07-30 18:01:55 -05:00
Paul Pacheco
b5b2f3e1eb perf: rpc messages are now value types (#997) 2019-07-30 14:33:44 +02:00
Paul Pacheco
f9ff44399b feat: support writing and reading array segments (#918)
* Unit tests for writing array segments

* Add tests back for ArraySegment<int>

* Work in progress trying to generate writer

* Avoid boxing

* Weaver can now generate readers and writers for ArraySegment<T>

* Added by accident

* Clarify the loop

* Explain method specializer

* Remove unused method

* Explain loop in reader
2019-07-30 10:21:43 +02:00
MrGadget
0df129f4c4 Replace Basic Example Again (#996) 2019-07-29 18:21:57 -05:00
Paul Pacheco
2d3151a5da Folder is gone 2019-07-29 17:54:38 -05:00
Paul Pacheco
40c7d97ed9 perf: SpawnSceneObjectMessage is now a value type 2019-07-29 17:53:05 -05:00
Paul Pacheco
a44efd1f92 perf: SpawnPrefabMessage is now a value type 2019-07-29 17:52:06 -05:00
MrGadget
2ba6847276 Correct scene for Basic Example (#994) 2019-07-30 00:05:46 +02:00
Paul Pacheco
407b36acb7 perf: SceneMessage is now a value type (#989) 2019-07-29 15:52:46 +02:00
Paul Pacheco
f99e71ebdf perf: update vars is now a value type (#990) 2019-07-29 15:52:35 +02:00
Paul Pacheco
a32c5a9456 perf: objdestroy message is now a value type (#993) 2019-07-29 15:52:19 +02:00
Paul Pacheco
a49d938fbe perf: ObjHideMessage is now a value type (#992) 2019-07-29 15:52:08 +02:00
Paul Pacheco
d071438d01 perf: ClientAuthorityMessage is now a value type (#991) 2019-07-29 15:51:43 +02:00
Paul Pacheco
145edaa50b perf: empty messages are value types now 2019-07-29 08:18:17 -05:00
Paul Pacheco
35b9919d91 Revert "New Basic Example (#985)"
This reverts commit 66f7693855.
2019-07-29 08:07:06 -05:00
Paul Pacheco
81d915eb73 perf: use value types for empty messages (#988) 2019-07-29 15:04:56 +02:00
Paul Pacheco
12437ba9c2 fix: don't use obsolete method 2019-07-29 08:00:03 -05:00
Paul Pacheco
633fb19f8d perf: messages should be value types (#987) 2019-07-29 14:50:18 +02:00
Paul Pacheco
7c7c910a5e perf: avoid allocation with message structs (#939)
* avoid allocation with message structs

* Use ternary operator instead of if

* Explain witchcraft
2019-07-29 14:50:09 +02:00
Paul Pacheco
b4077c1112 feat: safer and consistent writers names (#979)
* WriteUInt16

* WriteUInt16 weaver

* WriteUInt32

* WriteUInt64

* WriteByte

* WriteSbyte

* WriteChar

* WriteBoolean

* WriteInt16

* WriteInt32

* WriteInt64

* WriteDouble

* WriteDecimal

* WriteString

* WriteBytes

* WriteVector2

* WriteVector3

* WriteVector4

* WriteVector2Int

* WriteVector3Int

* WriteColor

* WriteColor32

* WriteQuaternion

* WritePlane

* WriteRay

* WriteMatrix4x4

* WriteGuid

* WriteNetworkIdentity

* WriteTransform

* WriteGameObject

* Keep consistent line breaks

* add new define so asset maintainers can tell if the new methods are available
2019-07-29 14:44:08 +02:00
vis2k
abf06df25d fix: Telepathy updated to latest version. connectionId counter is properly reset after stopping server. 2019-07-29 14:36:18 +02:00
MrGadget
c80fe05d50
Merge pull request #986 from MrGadget1024/DocUpdate0719
Doc update0719
2019-07-29 10:28:30 +00:00
MrGadget
66f7693855 New Basic Example (#985) 2019-07-28 18:13:38 -05:00
Paul Pacheco
eb4c00f8e4 Use array initializer 2019-07-24 20:09:10 -05:00
Paul Pacheco
60dcd2acdc Syntax 2019-07-24 18:37:39 -05:00
Chris Langsenkamp
31461c212a Updated Examples Overview doc 2019-07-20 18:14:08 -04:00
MrGadget
45b711804b fix: Don't increment counter in Awake (#971)
Doing it in Awake and also before assigning to clients skips connection ID 1.
2019-07-21 00:13:01 +02:00
Chris Langsenkamp
d388c21213 Updated Examples Overview doc with descriptions 2019-07-20 18:03:28 -04:00
MrGadget
7fecfe3065 ForceReload is always true, and the only use of it requred it to be false, so it's no longer needed. (#970) 2019-07-20 09:22:56 +02:00
Chris Langsenkamp
cb3721e9ef Renamed Samples folder in docs to Examples, updated navigation accordingly, stubbed out pages for in-depth descriptions of each example. 2019-07-20 00:43:43 -04:00
MrGadget
3fb0337f8c Lobby example update (#969)
* Updated Lobby Example

* Renamed cube to visor

* Missing files from PR 957

* Code Cleanup
2019-07-19 23:40:25 -05:00
MrGadget
43d4c7ecd7 Additive example update (#968)
* Updated Additive Example

* Renamed cube to visor

* Code Cleanup
2019-07-19 23:39:50 -05:00
Chris Langsenkamp
31307ac57e Updated NetworkManager doc 2019-07-19 23:49:19 -04:00
Chris Langsenkamp
2f7b77a27d Fixed Titles 2019-07-19 20:05:55 -04:00
Chris Langsenkamp
17b61b5e6f Updated SyncVar Hook doc 2019-07-19 20:00:49 -04:00
Chris Langsenkamp
9432b84555 Updated broken link in home page 2019-07-19 03:39:14 -04:00
Chris Langsenkamp
d2439643ad Updated Remote Actions doc 2019-07-19 03:16:49 -04:00
Chris Langsenkamp
9592e559a7 Updated Customizing Network Visibility doc 2019-07-19 03:13:56 -04:00
Chris Langsenkamp
d7e7dfc6ef Updated Custom Player Spawning doc 2019-07-19 01:51:55 -04:00
MrGadget
a7fbd94bf3
Merge pull request #967 from MrGadget1024/DocUpdate0619
Doc update0619
2019-07-18 21:12:31 +00:00
Paul Pacheco
64a046803a fix: do not accumulate changes if there are no observers fixes #963 (#964)
* fix: do not accumulate changes if there are no observers #963

* Update NetworkIdentity.cs
2019-07-17 14:59:46 +02:00
vis2k
310556c430 TelepathyTransport.ServerGetClientAddress: catch IL2CPP bug to at least continue to run 2019-07-17 12:32:03 +02:00
Paul Pacheco
f5a8b8a166
Add contributors 2019-07-16 21:16:07 -05:00
Chris Langsenkamp
81f2d07e7f Updated Spawn Object Custom doc 2019-07-15 12:54:04 -04:00
Paul Pacheco
771895509a fix: maintain Unity's copyright notice (#961) 2019-07-15 18:19:38 +02:00
Chris Langsenkamp
122e7e79b6 Updated Spawn Object doc and replace image 2019-07-15 09:19:35 -04:00