SC2 Serialization

Quote from Wikipedia:

In computer science, in the context of data storage and transmission, serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file, a memory buffer, or transmitted across a network connection link to be "resurrected" later in the same or another computer environment. When the resulting series of bits is reread according to the serialization format, it can be used to create a semantically identical clone of the original object. For many complex objects, such as those that make extensive use of references, this process is not straightforward.

This library is meant to allow you to store any type of variable into a String in such a way that it is able to be "resurrected" 100%, it is more conventional to use then simply converting the variable you want into a string. If you convert anything into a string normally there is no way to know later on what type of variable it was unless you keep up with it. Serializing the data allows you to check the variable type later on, stores every bit of data that is necessary to bring it back, and even has some built in handling for corruption issues.

Basic Variable Types:

  • Boolean (Implemented)
  • Byte (Implemented)
  • Character
  • Integer (Implemented)
  • Fixed/Real (Implemented)
  • String (Implemented)
  • Text

Advanced Variable Types:

  • Ability Command (Implemented)
  • Actor
  • Actor Message
  • Actor Scope
  • AI Filter
  • Animation Name
  • Attribute ID (Game)
  • Attribute ID (Player)
  • Attribute Value
  • Bank
  • Battle Report
  • Camera Object
  • Cinematic
  • Color
  • Conversation
  • Conversation Reply
  • Conversation State Index
  • Dialog
  • Difficulty Level
  • Doodad
  • Leaderboard
  • Marker
  • Mercenary
  • Model Camera
  • Objective
  • Order
  • Ping
  • Planet
  • Player Color
  • Player Group
  • Point
  • Portrait
  • Purchase Category
  • Purchase Group
  • Purchase Item
  • Region
  • Research Category
  • Research Item
  • Research Tier
  • Revealer
  • Room Button
  • Sound
  • Sound Link
  • Target Filter
  • Text Tag
  • Time Of Day
  • Timer
  • Timer Window
  • Transmission
  • Transmission Source
  • Trigger
  • Unit
  • Unit Filter
  • Unit Group
  • Unit Type
  • Water
  • Wave
  • Wave Info
  • Wave Target

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

  • r5
    Jun 7, 2010