C# 클래스 WF.Compiler.GWC

상속: IOutput
파일 보기 프로젝트 열기: WFoundation/WF.Compiler 1 사용 예제들

공개 메소드들

메소드 설명
Create ( Cartridge cartridge, string username, long userId, string completionCode ) : MemoryStream
WriteToMediaTable ( BinaryWriter output, short position ) : void

Save actual position to media table.

비공개 메소드들

메소드 설명
GetAscii ( string value ) : byte[]

Get string value as byte array with a zero as end.

GetDouble ( double value ) : byte[]

Get value as byte array in little endian order.

GetInt ( Int32 value ) : byte[]

Get value as byte array in little endian order.

GetLong ( System.Int64 value ) : byte[]

Get value as byte array in little endian order.

GetShort ( Int16 value ) : byte[]

Get value as byte array in little endian order.

saveLuaCode ( string text ) : void

메소드 상세

Create() 공개 메소드

public Create ( Cartridge cartridge, string username, long userId, string completionCode ) : MemoryStream
cartridge Cartridge
username string
userId long
completionCode string
리턴 System.IO.MemoryStream

WriteToMediaTable() 공개 메소드

Save actual position to media table.
public WriteToMediaTable ( BinaryWriter output, short position ) : void
output System.IO.BinaryWriter BinaryWrite to write to.
position short Position of the media, which should be updated (Lua binary is ever 0).
리턴 void