BitStream.Serialize

function Serialize (ref value : boolean) : void

function Serialize (ref value : char) : void

function Serialize (ref value : short) : void

function Serialize (ref value : int) : void

function Serialize (ref value : float, maxDelta : float = 0.00001F) : void

function Serialize (ref value : Quaternion, maxDelta : float = 0.00001F) : void

function Serialize (ref value : Vector3, maxDelta : float = 0.00001F) : void

function Serialize (ref value : NetworkPlayer) : void

function Serialize (ref viewID : NetworkViewID) : void

Description

Serializes different types of variables.

Supported types are: bool, char, short, int, float, Quaternion, Vector3 and NetworkPlayer.

Note that Serialize(char) serializes one byte, so it will only work properly for characters in 0..255 range.