Skip to content

v2.0 Major Update

Compare
Choose a tag to compare
@TwoTenPvP TwoTenPvP released this 26 Jul 16:12
f140dfa

Version 2.0.0 is the biggest update yet! The release is 326 commits ahead of the previous version. v1.3.3. Here are some the changes:

  • Replaced internal byte handling with Streams
  • New Messaging System (See Wiki)
  • Starting with Version 2.0.0. Releases will be using Semantic Versioning
  • Removed SyncedVar
  • Removed HLAPI Command, ClientRpc and TargetRPC (Replaced by the new Messaging System)
  • Reduced MLAPI generic header size to 1 byte
  • New BitStream
  • New BitWriter & BitReader
  • New NetworkedVar
  • NetworkedDictionary
  • NetworkedList
  • Custom Networked Structure support with custom delta encoding
  • Removed Message Names
  • Updated Installer to use Coroutines
  • Changed isOwner behaviour (Now does what it's called. Returns if we own the object)
  • Clarified Ownership states (Objects can now be owned by the server / host or a client, nothing in between)
  • Optimized & Reworked Encryption
  • Removed Observer System
  • Adds Custom Message Support
  • Improved NetworkingManager Inspector UI
  • Improved the Namespaces of classes
  • Added more helper methods and properties to make the MLAPI easier to use in game code. Ex:
SpawnManager.SpawnedObjects
SpawnManager.SpawnedObjectsList
SpawnManager.GetLocalPlayerObject()
SpawnManager.GetPlayerObject(uint clientId)

NetworkingManager.singleton.ConnectedClients
NetworkingManager.singleton.ConnectedClientsList
NetworkingManager.singleton.ServerClientId
NetworkingManager.singleton.LocalClientId

NetworkedBehaviour.GetBehaviour(ushort id)
NetworkedBehaviour.GetBehaviourId()
NetworkedBehaviour.isRunning

And many more.

As always, if you have any questions or encounter any bugs. Feel free to open an issue on GitHub or join our Discord Server. Contributors are always welcome.