Commit Graph

10 Commits

Author SHA1 Message Date
Karrar
f3b34bee4e Added Angle type. This is a helper struct that represents an angle in degrees, which automatically wraps to [0, 360) range. This type supports automatic interpolation. 2025-08-04 11:57:18 +03:00
Karrar
54e7f6d8ed Updated XML documentation. 2025-07-20 19:23:21 +03:00
Karrar
864f003677 Fixed code gen issue for RPC methods where the only parameter is RpcContext. 2025-07-07 14:44:25 +03:00
Karrar
53ddf149e1 Added support for targeted RPCs and optional RpcContext parameter
- Enables sending RPCs to specific players
- Introduces `RpcContext` struct for contextual metadata (e.g., sender info)
2025-07-05 16:39:49 +03:00
Karrar
1b0d33d8f0 Read the description for detailed changes.
- Added `Sandbox.Players`: a synchronized list of `NetworkPlayerId` structs representing connected players.
- Added `Sandbox.Events.OnPlayerJoined` and `Sandbox.Events.OnPlayerLeft` callbacks, synchronized across all clients.
- Changed internal interpolation of quaternions to use `Slerp` instead of `Lerp`.
- Fixed a potential crash caused by undefined behavior when reaching `NetickConfig.MaxPlayers` and destroying network objects.
- Fixed an issue where sandbox-loaded scenes were not being unloaded during shutdown.
- Fixed a bug preventing Prediction Error Correction from functioning correctly.
2025-06-27 05:47:00 +03:00
Karrar
eae8457ca6 Added NetworkSandbox.IsPlayer. It returns true if this sandbox is a player, which is the case when running as a Client, Host, or in Single-Player mode. 2024-09-13 23:52:47 +03:00
Karrar
7e3a31bf94 Added NetworkSandbox.InPacketLoss, NetworkSandbox.OutPacketLoss, NetworkConnection.InPacketLoss, and NetworkSandbox.OutPacketLoss. These are measurements for inward and outward packet loss. 2024-08-23 06:05:14 +03:00
Karrar
010cd7a4cc Added NetworkDictionary<TKey,TValue>, NetworkHashSet<T> and NetworkUnorderedList<T>. 2024-07-29 04:32:17 +03:00
Karrar
80ed43ffa7 Updated XML docs. 2024-04-13 12:30:42 +03:00
Karrar
0caf47a728 auto 2024-03-27 22:26:13 +03:00