vis2k
c14566c731
comments
2022-03-09 15:51:12 +08:00
vis2k
a34cb00eb2
comment
2022-03-09 15:49:53 +08:00
vis2k
401074fc67
syntax
2022-03-09 15:47:43 +08:00
vis2k
376494e7f5
syntax
2022-03-09 15:46:50 +08:00
vis2k
7e19881630
MIRROR_65_0_OR_NEWER
2022-03-07 20:26:11 +08:00
vis2k
d40b2f6be2
sponsor button
2022-03-07 19:55:01 +08:00
MrGadget
a51bc743a8
syntax
2022-02-26 15:02:16 -05:00
MrGadget
3a1d9822bd
Updated Authenticators
2022-02-26 14:53:25 -05:00
vis2k
66eff281c7
breaking: removed unnecessary 'initialize' parameter from InterestManagement.OnRebuildObservers
2022-02-26 15:26:04 +08:00
MrGadget
c1e05d9df4
fix: NetworkAuthenticator methods virtual
...
- abstract throws an error for derived classes that wrap server methods in UNITY_SERVER or similar as missing required override.
2022-02-25 09:47:35 -05:00
MrGadget
44dfce94b1
fix: Chat Example Authenticator
2022-02-24 08:22:33 -05:00
MrGadget
a88b03739f
fix: NetworkConnectionToClient in Authenticators
2022-02-23 14:57:25 -05:00
Robin Rolf
d67dc74bbd
feat: Allow generic NetworkBehaviour<T> subclasses ( #3073 )
...
* feat: Allow generic NetworkBehaviour subclasses
It's only generic SyncVars (via attribute) and rpcs/cmds we don't want to deal with and that aren't supported.
Even generic SyncVar<T> works
* Generate IL2CPP compatible base calls
see cf91e1d547
* Make SyncVar field/hook references generic too
Fixes bad IL
* Update Extensions.cs
* Update Assets/Mirror/Editor/Weaver/Extensions.cs
Co-authored-by: vis2k <info@noobtuts.com>
2022-02-23 12:50:15 +08:00
James Clancey
7670271bf1
fix: Android multicast Discovery. Fixes #2878 ( #2887 )
...
* Added Android multicast support for Discovery Fixes #2878
This will add support for turning on and off Multicast for Android devices.
It also contains an Android manifest editor that will add the appropriate permissions.
* Reset the lock state once you end it.
* Update NetworkDiscoveryBase.cs
* Update AndroidManifestHelper.cs
Co-authored-by: vis2k <info@noobtuts.com>
2022-02-17 19:39:20 +08:00
vis2k
c804efd731
ClientSceneTests: remove redundant ApplyPayload tests. we have higher level (and more simple) tests that already guarantee this.
2022-02-17 13:08:15 +08:00
vis2k
1bbd2bbad7
MirrorTest: CreateNetworkedAndSpawnPlayer<T, U>
2022-02-17 12:55:31 +08:00
vis2k
d91f43a486
MirrorTest: guarantee isServer/isClient
2022-02-17 00:02:49 +08:00
vis2k
a07eb1bbba
Tests: use explicit NetworkConnectionToClient
2022-02-17 00:02:02 +08:00
vis2k
fa1e5184c1
Tests: TooManyComponents improved to prepare for SyncDirection
2022-02-16 23:05:35 +08:00
vis2k
e0bdca7532
Tests: TooManyComponents improved to prepare for SyncDirection
2022-02-16 23:02:14 +08:00
vis2k
d99652873b
corrected the answer
2022-02-16 21:46:52 +08:00
vis2k
baf5002560
"life is all about setup"
2022-02-16 21:41:42 +08:00
vis2k
61a98fd97b
Tests: SerializationException cleanup to prepare for SyncDirection
2022-02-16 21:38:54 +08:00
vis2k
a45d3adf42
unused import
2022-02-16 21:25:01 +08:00
vis2k
5420cd084d
Tests: OnSerializeAndDeserializeAllSafely cleanup
2022-02-16 21:24:44 +08:00
vis2k
b64a170b24
syntax
2022-02-16 16:36:26 +08:00
vis2k
f042933334
perf: NetworkReader: ReadBytes cleanup. copy buffer directly instead of generating segment first.
2022-02-16 16:33:41 +08:00
vis2k
c26c75485a
NetworkReader: move extensions into separate file
2022-02-16 16:11:17 +08:00
vis2k
0f77fe342d
NetworkWriter: move extensions into separate file
2022-02-16 16:09:52 +08:00
vis2k
c3ac08203a
NetworkWriter: runtime resizing comment
2022-02-16 15:50:51 +08:00
vis2k
2ea328750c
[SyncVar] OnDeserialize moved to C# to reduce headaches ( #3103 )
2022-02-16 12:24:01 +08:00
vis2k
533c054408
GenerateNewActionFromHookMethod helper function for future reuse in OnDeserialize
2022-02-15 17:31:28 +08:00
vis2k
72973f484a
fix: host mode [SyncVar] setter hooks now support virtual / overwritten functions again ( #3102 )
2022-02-15 17:30:56 +08:00
vis2k
4e91833c7d
fix: host mode [SyncVar] setter hooks now support static functions again ( #3101 )
...
* fix: host mode [SyncVar] setter hooks now support static functions again
* Tests: [SyncVar] setter in host mode static hook test for https://github.com/vis2k/Mirror/pull/3101
2022-02-15 14:42:39 +08:00
vis2k
e41edfae2f
better comment
2022-02-13 22:21:36 +08:00
James Frowen
e250d4eb6f
feat: updating to SimpleWebTransport v1.3 ( #3099 )
...
- Allowing max message size to be increase to int32.max
- fixing minor bugs (see change log)
2022-02-13 17:01:04 +08:00
MrGadget
9e45ce869b
breaking: Make clientLoadedScene protected ( #3098 )
...
- users shouldn't be messing with this
- it does need to be available in an override of OnClientConnect
2022-02-13 16:56:54 +08:00
MrGadget
8394190b11
explicit type
2022-02-12 19:44:04 -05:00
MrGadget
faf8f15a59
Comments
2022-02-12 16:12:15 -05:00
MrGadget
4db8da0b6a
Comments
2022-02-12 16:03:15 -05:00
vis2k
791a9b907d
test comments
2022-02-11 19:40:40 +08:00
vis2k
0b4787d3d9
SyncVarAttributeTest: use MirrorTest's ProcessMessages() instead of manual serialize/deserialize for consistency
2022-02-09 13:07:13 +08:00
vis2k
9271990cae
SyncVarAttributeHookTest: use MirrorTest's ProcessMessages() instead of manual serialize/deserialize for consistency
2022-02-09 13:05:24 +08:00
vis2k
f962f7fb47
GetSerializationAtTick: disable tick based serialization caching during tests. fixes [SyncVar] changes not serializing in tests because Time.frameCount would never increase during tests, so the original spawn serialization would always be reused.
2022-02-09 12:48:12 +08:00
vis2k
d5af1c6407
GeneratedSyncVarSetter: add comments
2022-02-09 01:58:04 +08:00
vis2k
2610dfc1b3
Tests: Mirrortest isClient check and make sure it's actually set ( #3094 )
...
* Tests: guarantee isClient == true
* fix
2022-02-08 20:44:56 +08:00
vis2k
39632fc5e5
NetworkClient.SpawnSceneObject: don't rely on SpawnMessage
2022-02-08 00:01:07 +08:00
MrGadget
46e6c61da6
fix: Match & Team Int Mgmt OnCheckObserver ( #3089 )
2022-02-06 08:30:03 -05:00
MrGadget
4e4e001c92
fix: Missed a couple NetworkConnectionToClient changes
2022-02-06 07:14:12 -05:00
MrGadget
b117b92d08
fix: Updated Templates ( #3090 )
2022-02-06 06:25:08 -05:00