Commit Graph

1720 Commits

Author SHA1 Message Date
Chris Langsenkamp
02ce5c27f8 Added Dissonance 2019-03-22 12:55:52 -04:00
Chris Langsenkamp
2b82f13eb3 switched the image names 2019-03-22 12:50:49 -04:00
MrGadget
77172bd0d4
Merge pull request #629 from MrGadget1024/IntegrationsDocs
Renamed image files and put them into index.md
2019-03-22 12:31:53 -04:00
Chris Langsenkamp
aac498df4b Updated Navigation for Integrations 2019-03-22 12:27:40 -04:00
Chris Langsenkamp
97f1f45d67 Renamed image files and put them into index.md 2019-03-22 12:24:44 -04:00
vis2k
4eb01da0c1 update welcome message 2019-03-22 17:19:05 +01:00
MrGadget
2ef17af3c5
Add files via upload 2019-03-22 12:07:55 -04:00
MrGadget
12f6a4e2bf
Create index.md 2019-03-22 12:04:11 -04:00
MrGadget
5494f1a857
Update ChangeLog.md 2019-03-22 10:35:53 -04:00
MrGadget
571010f931
Update ChangeLog.md 2019-03-22 10:34:08 -04:00
MrGadget
0e2246e2ee
Update navigation.yml
Added navigation for SyncDictionary and SyncHashSet
2019-03-22 09:53:13 -04:00
MrGadget
b544127561
Create SyncHashSet.md 2019-03-22 09:51:29 -04:00
MrGadget
fa4d6d3f78
Create SyncDictionary.md 2019-03-22 09:50:43 -04:00
MrGadget
f46716c3d0
Update ChangeLog.md 2019-03-22 09:11:41 -04:00
MrGadget
737336ab88
Update ChangeLog.md 2019-03-22 09:09:45 -04:00
vis2k
fa04185fa8 remove empty line 2019-03-22 14:08:59 +01:00
vis2k
c194771084 ClientScene.DestroyAllClientObjects simplified: use .Values 2019-03-22 14:05:47 +01:00
vis2k
6e11429699 NetworkClient.Shutdown made static too. ShutdownAll made obsolete. 2019-03-22 13:56:43 +01:00
vis2k
1d94464023 NetworkClient.ShutdownAll calls .Shutdown 2019-03-22 13:54:20 +01:00
vis2k
e1e7b3132e NetworkClient.Shutdown: call ClientScene.Shutdown, otherwise it's never called 2019-03-22 13:53:28 +01:00
vis2k
227b0a71d1 tanks example namespaces updated 2019-03-22 13:29:24 +01:00
vis2k
c5b4211ac7 list server examples namespace changed 2019-03-22 13:28:08 +01:00
vis2k
5c00577746
fix: #609 by spawning observers in NetworkServer.AddPlayerForConnection after setting the controller. There is no point in trying to spawn with a null controller in SetReady, because by definition no one can observer something that is null. (#623) 2019-03-22 12:50:35 +01:00
Paul Pacheco
b7e977a7a3
synclist code generator is now reusable (#624)
* refactor: Made serializer generation reusable

* refactor: SyncList code generator is reusable for other structs
2019-03-22 06:44:57 -05:00
vis2k
1d166c699a add comment 2019-03-22 12:24:22 +01:00
vis2k
694185b756 NetworkServer.SpawnObserversForConnection helper function instead of doing it all in SetClientReady 2019-03-22 12:23:33 +01:00
vis2k
009943f368 remove outdated comment 2019-03-22 12:10:13 +01:00
vis2k
c3bd7d6e07 NetworkServer.SetClientReady: get rid of 'continue' 2019-03-22 12:09:22 +01:00
vis2k
400bb91821 NetworkServer.SetClientReady: remove unnecessary null check because we don't have one in the above foreach either, and we don't have them anywhere else for NetworkIdentity.spawned because OnDestroy removes objects from it before they become null. The only way to cause this would be by calling Destroy(GetComponent<NetworkIdentity>()) - which no one does, and if someone does it then it's fine to get an exception here. 2019-03-22 12:08:47 +01:00
vis2k
9567daedba add comments 2019-03-22 12:06:13 +01:00
vis2k
b869e3af99 improve comment 2019-03-22 12:04:25 +01:00
vis2k
c176da7bc3 NetworkServer.SetClientReady: use if+else instead of if + early return 2019-03-22 12:00:16 +01:00
vis2k
0e8b442cad add some ocmments 2019-03-22 11:59:12 +01:00
vis2k
f6a6440294 NetworkServer.SetClientReady: move isReady=true upwards 2019-03-22 11:57:27 +01:00
vis2k
47d5ee976e remove unused variable 2019-03-22 11:53:42 +01:00
Paul Pacheco
6f19489721
feature(synclist): allow SyncList of primitive types (#622)
* feature(synclist): allow SyncList of primitive types

As it turns out this never really worked:
```cs
class SyncListByte : SyncList<byte> {};
```

You had to write your own serializeItem / deserialize item for native types.

This change lifts the restriction, now you can use a synclist of anything that mirror can serialize/deserialize

* fix: fix unit tests error messages
2019-03-22 05:51:20 -05:00
vis2k
aa5e5a104f ClientScene.s_PendingOwnerNetIds converted to HashSet 2019-03-22 10:10:53 +01:00
vis2k
0d6b03989a NetworkServer.InternalAddPlayerForConnection moved into AddPlayerForConnection because there is no reason to keep it in an internal method anymore, since NetworkServer is static now 2019-03-22 10:04:14 +01:00
vis2k
fb2131207c NetworkServer.InternalAddPlayerForConnection: reuse 'identity' for log message 2019-03-22 10:03:00 +01:00
vis2k
4f53f37dc8 NetworkServer.InternalAddPlayerForConnection: rename playerGameObject parameter for consistency 2019-03-22 10:02:30 +01:00
vis2k
75e51513db added the log message again too 2019-03-22 09:58:04 +01:00
vis2k
1a55c3d52d NetworkManager: move OnServerAddPlayerInternal code into OnServerAddPlayer because it was really just the implementation for OnServerAddPlayer moved into another function 2019-03-22 09:53:21 +01:00
vis2k
4b4dd179cc sort regular and obsolete OnServerAddPlayer functions 2019-03-22 09:51:27 +01:00
vis2k
a39954003a NetworkManager.RegisterServerMessages for AddPlayerMessage uses OnServerAddPlayer directly instead of wrapping it with a OnServerAddPlayerMessageInternal function 2019-03-22 09:46:14 +01:00
vis2k
fa4efa6683 syntax 2019-03-21 18:12:34 +01:00
vis2k
155764cea8 simplify NetworkIdentity.RebuildObservers 2019-03-21 17:58:15 +01:00
MrGadget
f0dd7549e6
Update ChangeLog.md 2019-03-21 09:47:08 -04:00
MrGadget
4ec42b564e
Update ChangeLog.md 2019-03-21 09:46:41 -04:00
MrGadget
f7db1100b3
Update ChangeLog.md 2019-03-21 09:35:27 -04:00
MrGadget
408896ef69
Update ChangeLog.md 2019-03-21 09:06:03 -04:00