vis2k
f03e7b1ebe
Add empty class bodies to code convention
2019-02-28 12:16:19 +01:00
vis2k
d5857d841f
Add line break and fix word
2019-02-28 12:11:34 +01:00
vis2k
c32845d507
Update code convention with int vs Int32
2019-02-28 12:11:34 +01:00
rodolphito
7ecd66d6ec
Transport.activeTransport instead of NetworkManager.singleton.transport ( #479 )
...
* Created Transport.activeTransport to decrease NetworkManager god status.
* Fixed NetworkManagerHUD. (I forgot I had deleted it temporarily for testing)
2019-02-28 11:58:37 +01:00
rodolphito
d4d764fb53
Fixed erroneous documentation. ( #485 )
2019-02-28 11:54:11 +01:00
MichalPetryka
c33c72e720
Using cleanup ( #452 )
2019-02-28 11:44:55 +01:00
rodolphito
c13f4bd13b
Used Expression Body Members to make code smaller and nicer in NetworkIdentity. ( #486 )
2019-02-28 10:20:57 +01:00
rodolphito
2d37a9e87c
First pass of moving stuff out of UNetwork. ( #481 )
2019-02-28 09:42:03 +01:00
Paul Pacheco
d39f999f0f
Simplify with auto property
2019-02-27 22:12:19 -06:00
rodolphito
51458762d4
Split Utils into FloatBytePacker and NetworkManager. ( #483 )
2019-02-27 21:47:37 -06:00
rodolphito
96133d1583
Removed useless proxy methods and substituted in direct property modification. ( #454 )
2019-02-27 18:33:10 -06:00
rodolphito
82535b0a8c
Moved SceneAttribute into CustomAttribute. ( #470 )
2019-02-27 18:32:13 -06:00
MichalPetryka
f746ba8b08
Hide obsolete warnings ( #476 )
2019-02-27 17:06:13 +01:00
MrGadget
e7e890988d
Re-applied GetActiveScene ( #474 )
2019-02-27 15:57:33 +01:00
vis2k
732111c1b9
add obsolete hostId again for easier transition from UNET
2019-02-27 15:43:35 +01:00
vis2k
26a9b5670d
NetworkClient.allClients added as obsolete
2019-02-27 15:24:44 +01:00
rodolphito
dbd5f57e96
Remove List.ForEach on hot path. ( #467 )
...
* Remove LINQ on hot path.
* Fixed erroneous classification of List.ForEach as LINQ.
* Added back using so that it could be removed by #452 .
2019-02-27 15:11:52 +01:00
rodolphito
d9a64c62b7
Move NetworkProximityChecker to ../Components/. ( #471 )
2019-02-27 14:39:44 +01:00
MichalPetryka
a3a10e82f2
Use string interpolation expressions ( #469 )
2019-02-27 14:37:54 +01:00
vis2k
6630b0bdbf
Move NetworkIdentity.UNetStaticUpdate to NetworkManager.Update. There is no reason why it should be in NetworkIdentity. ( #457 )
2019-02-27 14:36:53 +01:00
vis2k
b1c028a067
Rename Protocol to MessagePacker( #444 )
2019-02-27 14:36:09 +01:00
vis2k
07a5cca725
NetworkConnection.isConnected obsolete
2019-02-27 14:32:15 +01:00
MichalPetryka
ffda610f0d
Use nameof expression ( #468 )
2019-02-27 14:27:52 +01:00
rodolphito
0114a36fe1
Expanded symbols in test comments to english. ( #465 )
2019-02-27 09:42:50 +01:00
vis2k
81d031c6a1
Rebuild weaver.dll
2019-02-27 09:39:53 +01:00
Lymdun
cb432a12fb
Weaver aesthetic ( #455 )
...
* Renamed lists to WeaveList
* Renamed scriptDef to CurrentAssembly
* Renamed corLib to CorLibModule
* Renamed m_UnityAssemblyDefinition to UnityAssembly
* Renamed m_UNetAssemblyDefinition to NetAssembly
* Renamed MaxRecursionCount to m_kMaxRecursionCount
* Renamed s_RecursionCount to m_recursionCount
* Renamed m_DebugFlag to m_debugLogEnabled
* Moved properties & fixed comment
* Renamed fail to WeavingFailed
* Renamed generateLogErros to GenerateLogErrors
* Removed UNET references
* Updated dll
* WeaveLists better than WeaveList
* Removed m_ prefix
* Updated dll
2019-02-27 09:38:17 +01:00
rodolphito
7d3d8dad72
Simplify ClientScene functions. ( #461 )
2019-02-26 22:16:42 -06:00
rodolphito
72474af073
Fixed typos in Lobby Example README. ( #456 )
2019-02-26 22:16:03 -06:00
rodolphito
ca9d88d602
Greatly simplified SyncList by using Expression Bodied Members. ( #466 )
2019-02-26 22:15:22 -06:00
vis2k
a851ca7554
Rename NetworkWriter.Reset to SetLength(value). Seems more obvious. Reset could mean a lot of things. ( #459 )
2019-02-26 20:59:32 +01:00
vis2k
619d5f47e3
Remove hostId from NetworkServer and NetworkConnection because it was only needed for the old LLAPI. Also added comment for NetworkConnection.isConnected which can be removed later.
2019-02-26 17:08:10 +01:00
vis2k
74b297819b
NetworkServer: remove unnecessary check because hostId is set to 0 one line before that
2019-02-26 16:57:19 +01:00
vis2k
d08b9c0272
NetworkClient.clientId removed because all it ever did was change between -1 and 0 to indicate if a connection was made. The .active variable is enough here.
2019-02-26 16:45:58 +01:00
vis2k
3d945666a8
NetworkClient.Connect: use 0 as second parameter because the third one was actually the client id. The second one was the host id, which will likely be removed soon because it's left over from LLAPI.
2019-02-26 16:43:55 +01:00
vis2k
9a143dac5b
NetworkClient.Disconnect sets active = false too
2019-02-26 16:41:18 +01:00
vis2k
bd2952446e
NetworkClient.clientId: add comment
2019-02-26 16:36:08 +01:00
vis2k
70ecdd8f3a
NetworkClient.UpdateClients renamed to UpdateClient
2019-02-26 16:28:45 +01:00
vis2k
db32754100
NetworkClient: move Shutdown next to ShutdownAll
2019-02-26 16:26:33 +01:00
vis2k
9957cbc3b5
NetworkServer.OnConnected: call AddConnection in here too, instead of manually doing it from AddLocalClient and OnConnected
2019-02-26 16:07:40 +01:00
vis2k
fd561db9c2
NetworkServer.AddLocalClient: reused OnConnected
2019-02-26 16:07:40 +01:00
vis2k
81ecf61eed
LocalClient: move connect above disconnect
2019-02-26 16:07:40 +01:00
vis2k
7ac3749274
NetworkServer.RemoveLocalClient: remove unnecessary parameter
2019-02-26 16:07:40 +01:00
vis2k
9c58cb5c80
syntax
2019-02-26 16:07:40 +01:00
vis2k
a724503f6e
LocalClient.Disconnect: modify syntax to be more similar to NetworkClient.Disconnect
2019-02-26 16:07:39 +01:00
vis2k
6fa3aacea2
LocalClient: removed unnecessary m_Connected variable
2019-02-26 16:07:39 +01:00
vis2k
3967a7c089
LocalClient.InternalConnectLocalServer: always generate connect message
2019-02-26 16:07:39 +01:00
vis2k
903ca76c65
Remove NetworkServer.InvokeBytes. LocalConnection uses TransportReceive instead.
2019-02-26 16:07:39 +01:00
vis2k
c2dcf69e15
improve comments
2019-02-26 16:07:39 +01:00
vis2k
1c999df5de
syntax
2019-02-26 16:07:39 +01:00
vis2k
312ef309ae
NetworkConnection.TransportReceive: reuse InvokeHandler
2019-02-26 16:07:39 +01:00