File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -151,15 +151,15 @@ internal set
151151 /// <summary>
152152 /// The callback to invoke once a client connects
153153 /// </summary>
154- public Action < ulong > OnClientConnectedCallback = null ;
154+ public event Action < ulong > OnClientConnectedCallback = null ;
155155 /// <summary>
156156 /// The callback to invoke when a client disconnects
157157 /// </summary>
158- public Action < ulong > OnClientDisconnectCallback = null ;
158+ public event Action < ulong > OnClientDisconnectCallback = null ;
159159 /// <summary>
160160 /// The callback to invoke once the server is ready
161161 /// </summary>
162- public Action OnServerStarted = null ;
162+ public event Action OnServerStarted = null ;
163163 /// <summary>
164164 /// Delegate type called when connection has been approved
165165 /// </summary>
@@ -172,7 +172,7 @@ internal set
172172 /// <summary>
173173 /// The callback to invoke during connection approval
174174 /// </summary>
175- public Action < byte [ ] , ulong , ConnectionApprovedDelegate > ConnectionApprovalCallback = null ;
175+ public event Action < byte [ ] , ulong , ConnectionApprovedDelegate > ConnectionApprovalCallback = null ;
176176 /// <summary>
177177 /// The current NetworkingConfiguration
178178 /// </summary>
You can’t perform that action at this time.
0 commit comments