Skip to content

Releases: Penca53/DarkRiftLibrary-MLAPI

MLAPI 1.1.0

20 Oct 13:46
Compare
Choose a tag to compare
  • Changed methods names from ReadSerializable to ReadSerializableSmart
  • Changed methods names from Write to WriteSmart
  • Fixed WriteSmart(ISync sync, int tag, bool sendTag, bool sendTypeID) not writing the correct ExtraDataSync.
  • Added descriptions to SyncTypes, TypeID, SerializeOptional, DeserializeOptional and ExtraDataSync.

MLAPI 1.0.0

19 Oct 16:27
Compare
Choose a tag to compare
  • Added ISync interface

    • TypeID keeps track of the type
    • SerializeOptional has a tag parameter used by the programmer to do different things depending on it
    • DeserializeOptional has a tag parameter used by the programmer to do different things depending on it
  • Added SyncTypes dictionary

    • Use it to catalog all your classes that implement ISync
  • Added ExtraSyncData enum

    • Nothing sends only the data
    • TypeID sends the data and the TypeID
    • Tag sends the data and the Tag
    • TypeIDANDTag sends the data, the TypeID and the Tag
  • Added many DarkRift extensions

    • Write
    • ReadSerializable DarkRiftReader, which creates a new instance
    • ReadSerializable ISync, which updates an instance