Skip to content

Commit 95a7439

Browse files
authored
Added OnListChange delegate again
1 parent 9d05130 commit 95a7439

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

MLAPI/Data/NetworkedCollections/NetworkedList.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ public class NetworkedList<T> : IList<T>, INetworkedVar
2323
/// </summary>
2424
public readonly NetworkedVarSettings Settings = new NetworkedVarSettings();
2525
/// <summary>
26+
/// Delegate type for list changed event
27+
/// </summary>
28+
/// <param name="changeEvent">Struct containing information about the change event</param>
29+
public delegate void OnListChangedDelegate(NetworkedListEvent<T> changeEvent);
30+
/// <summary>
2631
/// The callback to be invoked when the list gets changed
2732
/// </summary>
2833
public event OnListChangedDelegate OnListChanged;

0 commit comments

Comments
 (0)