C# Class BBGamelib.flash.imp.Utils

Show file Open project: BigWoodGames/cocos2d-unity

Public Methods

Method Description
ReadByte ( byte data, Cursor cursor ) : byte
ReadColor4B ( byte data, Cursor cursor ) : Color32
ReadColor4f ( byte data, Cursor cursor ) : Color
ReadColorTransform ( byte data, Cursor cursor ) : ColorTransform
ReadFloat ( byte data, Cursor cursor ) : float
ReadInt32 ( byte data, Cursor cursor ) : int
ReadLength ( byte data, Cursor cursor ) : int
ReadRect ( byte data, Cursor cursor ) : Rect
ReadString ( byte data, Cursor cursor ) : string
ReadVector2 ( byte data, Cursor cursor ) : Vector2
RepeatString ( int n, string str = " " ) : string

Method Details

ReadByte() public static method

public static ReadByte ( byte data, Cursor cursor ) : byte
data byte
cursor Cursor
return byte

ReadColor4B() public static method

public static ReadColor4B ( byte data, Cursor cursor ) : Color32
data byte
cursor Cursor
return UnityEngine.Color32

ReadColor4f() public static method

public static ReadColor4f ( byte data, Cursor cursor ) : Color
data byte
cursor Cursor
return Color

ReadColorTransform() public static method

public static ReadColorTransform ( byte data, Cursor cursor ) : ColorTransform
data byte
cursor Cursor
return ColorTransform

ReadFloat() public static method

public static ReadFloat ( byte data, Cursor cursor ) : float
data byte
cursor Cursor
return float

ReadInt32() public static method

public static ReadInt32 ( byte data, Cursor cursor ) : int
data byte
cursor Cursor
return int

ReadLength() public static method

public static ReadLength ( byte data, Cursor cursor ) : int
data byte
cursor Cursor
return int

ReadRect() public static method

public static ReadRect ( byte data, Cursor cursor ) : Rect
data byte
cursor Cursor
return UnityEngine.Rect

ReadString() public static method

public static ReadString ( byte data, Cursor cursor ) : string
data byte
cursor Cursor
return string

ReadVector2() public static method

public static ReadVector2 ( byte data, Cursor cursor ) : Vector2
data byte
cursor Cursor
return Vector2

RepeatString() public static method

public static RepeatString ( int n, string str = " " ) : string
n int
str string
return string