[Add] FishNet

This commit is contained in:
2026-03-30 20:11:57 +07:00
parent ee793a3361
commit c22c08753a
1797 changed files with 197950 additions and 1 deletions
@@ -0,0 +1,31 @@
using FishNet.Connection;
using UnityEngine.SceneManagement;
namespace FishNet.Managing.Scened
{
/// <summary>
/// Data container about a scene presence change for a client.
/// </summary>
public struct ClientPresenceChangeEventArgs
{
/// <summary>
/// Scene on the server which the client's presence has changed.
/// </summary>
public Scene Scene;
/// <summary>
/// Connection to client.
/// </summary>
public NetworkConnection Connection;
/// <summary>
/// True if the client was added to the scene, false is removed.
/// </summary>
public bool Added;
internal ClientPresenceChangeEventArgs(Scene scene, NetworkConnection conn, bool added)
{
Scene = scene;
Connection = conn;
Added = added;
}
}
}