Skip to content

Commit

Permalink
Enhance late joiner flow (hopefully)
Browse files Browse the repository at this point in the history
Enable double-click resync to request owner serialize current state
  • Loading branch information
JLChnToZ committed Apr 22, 2024
1 parent d739c99 commit 2d5cab5
Show file tree
Hide file tree
Showing 2 changed files with 205 additions and 29 deletions.
209 changes: 181 additions & 28 deletions Packages/idv.jlchntoz.vvmw/Runtime/VVMW/Core.asset
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ MonoBehaviour:
Data:
- Name:
Entry: 12
Data: 62
Data: 65
- Name:
Entry: 7
Data:
Expand Down Expand Up @@ -3298,10 +3298,163 @@ MonoBehaviour:
Data:
- Name: $k
Entry: 1
Data: url
Data: isOwnerSyncRequested
- Name: $v
Entry: 7
Data: 186|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: isOwnerSyncRequested
- Name: <UserType>k__BackingField
Entry: 9
Data: 46
- Name: <SystemType>k__BackingField
Entry: 9
Data: 46
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
- Name:
Entry: 6
Data:
- Name:
Entry: 8
Data:
- Name: <IsSerialized>k__BackingField
Entry: 5
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 187|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 0
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: lastSyncTime
- Name: $v
Entry: 7
Data: 188|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: lastSyncTime
- Name: <UserType>k__BackingField
Entry: 7
Data: 189|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: System.DateTime, mscorlib
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField
Entry: 9
Data: 189
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
- Name:
Entry: 6
Data:
- Name:
Entry: 8
Data:
- Name: <IsSerialized>k__BackingField
Entry: 5
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 190|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 0
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: lastClickResyncTime
- Name: $v
Entry: 7
Data: 191|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: lastClickResyncTime
- Name: <UserType>k__BackingField
Entry: 9
Data: 189
- Name: <SystemType>k__BackingField
Entry: 9
Data: 189
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
- Name:
Entry: 6
Data:
- Name:
Entry: 8
Data:
- Name: <IsSerialized>k__BackingField
Entry: 5
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 192|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 0
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: url
- Name: $v
Entry: 7
Data: 193|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: url
Expand All @@ -3325,14 +3478,14 @@ MonoBehaviour:
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 187|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
Data: 194|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data: 188|System.NonSerializedAttribute, mscorlib
Data: 195|System.NonSerializedAttribute, mscorlib
- Name:
Entry: 8
Data:
Expand All @@ -3356,13 +3509,13 @@ MonoBehaviour:
Data: author
- Name: $v
Entry: 7
Data: 189|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
Data: 196|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: author
- Name: <UserType>k__BackingField
Entry: 7
Data: 190|System.RuntimeType, mscorlib
Data: 197|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: System.String, mscorlib
Expand All @@ -3371,7 +3524,7 @@ MonoBehaviour:
Data:
- Name: <SystemType>k__BackingField
Entry: 9
Data: 190
Data: 197
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
Expand All @@ -3386,20 +3539,20 @@ MonoBehaviour:
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 191|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
Data: 198|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 2
- Name:
Entry: 7
Data: 192|System.NonSerializedAttribute, mscorlib
Data: 199|System.NonSerializedAttribute, mscorlib
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data: 193|UdonSharp.FieldChangeCallbackAttribute, UdonSharp.Runtime
Data: 200|UdonSharp.FieldChangeCallbackAttribute, UdonSharp.Runtime
- Name:
Entry: 8
Data:
Expand All @@ -3423,16 +3576,16 @@ MonoBehaviour:
Data: title
- Name: $v
Entry: 7
Data: 194|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
Data: 201|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: title
- Name: <UserType>k__BackingField
Entry: 9
Data: 190
Data: 197
- Name: <SystemType>k__BackingField
Entry: 9
Data: 190
Data: 197
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
Expand All @@ -3447,20 +3600,20 @@ MonoBehaviour:
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 195|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
Data: 202|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 2
- Name:
Entry: 7
Data: 196|System.NonSerializedAttribute, mscorlib
Data: 203|System.NonSerializedAttribute, mscorlib
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data: 197|UdonSharp.FieldChangeCallbackAttribute, UdonSharp.Runtime
Data: 204|UdonSharp.FieldChangeCallbackAttribute, UdonSharp.Runtime
- Name:
Entry: 8
Data:
Expand All @@ -3484,16 +3637,16 @@ MonoBehaviour:
Data: viewCount
- Name: $v
Entry: 7
Data: 198|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
Data: 205|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: viewCount
- Name: <UserType>k__BackingField
Entry: 9
Data: 190
Data: 197
- Name: <SystemType>k__BackingField
Entry: 9
Data: 190
Data: 197
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
Expand All @@ -3508,20 +3661,20 @@ MonoBehaviour:
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 199|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
Data: 206|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 2
- Name:
Entry: 7
Data: 200|System.NonSerializedAttribute, mscorlib
Data: 207|System.NonSerializedAttribute, mscorlib
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data: 201|UdonSharp.FieldChangeCallbackAttribute, UdonSharp.Runtime
Data: 208|UdonSharp.FieldChangeCallbackAttribute, UdonSharp.Runtime
- Name:
Entry: 8
Data:
Expand All @@ -3545,16 +3698,16 @@ MonoBehaviour:
Data: description
- Name: $v
Entry: 7
Data: 202|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
Data: 209|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: description
- Name: <UserType>k__BackingField
Entry: 9
Data: 190
Data: 197
- Name: <SystemType>k__BackingField
Entry: 9
Data: 190
Data: 197
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
Expand All @@ -3569,20 +3722,20 @@ MonoBehaviour:
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 203|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
Data: 210|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 2
- Name:
Entry: 7
Data: 204|System.NonSerializedAttribute, mscorlib
Data: 211|System.NonSerializedAttribute, mscorlib
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data: 205|UdonSharp.FieldChangeCallbackAttribute, UdonSharp.Runtime
Data: 212|UdonSharp.FieldChangeCallbackAttribute, UdonSharp.Runtime
- Name:
Entry: 8
Data:
Expand Down
Loading

0 comments on commit 2d5cab5

Please sign in to comment.