BBGamelib.flash.imp.FrameObject.FrameObject C# (CSharp) Method

FrameObject() public method

public FrameObject ( int aFrameNumber, byte data, Cursor cursor ) : UnityEngine
aFrameNumber int
data byte
cursor Cursor
return UnityEngine
		public FrameObject(int aFrameNumber, byte[] data, Cursor cursor){
			//find nextIndex
			frameNumber = aFrameNumber;
			int dataLength = Utils.ReadInt32 (data, cursor);
			int nextIndex = cursor.index + dataLength;
			
			//parse
			label = Utils.ReadString (data, cursor);
			soundEvents = Utils.ReadInt32 (data, cursor);

			_data = data;
//			_placeObjectCount = Utils.ReadInt32 (data, cursor);
			_dataOffset = cursor.index;
//			int objsCount = Utils.ReadInt32 (data, cursor);
//			placeObjects = new PlaceObject[objsCount];
//			for(int i=0; i<objsCount; i++){
//				placeObjects[i] = new PlaceObject(data, cursor);
//			}
			
			//nextIndex
			cursor.index = nextIndex;
		}