fix: Adds OnBeforeDisconnected and BeforeDisconnected eventsink (#1004)
This commit is contained in:
parent
3a0f2b0b90
commit
f2275cb65b
2 changed files with 10 additions and 0 deletions
|
|
@ -64,6 +64,9 @@ namespace Server
|
|||
public static event Action<Mobile> Connected;
|
||||
public static void InvokeConnected(Mobile m) => Connected?.Invoke(m);
|
||||
|
||||
public static event Action<Mobile> BeforeDisconnected;
|
||||
public static void InvokeBeforeDisconnected(Mobile m) => BeforeDisconnected?.Invoke(m);
|
||||
|
||||
public static event Action<Mobile> Disconnected;
|
||||
public static void InvokeDisconnected(Mobile m) => Disconnected?.Invoke(m);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue