C# 클래스 YGOSharp.OCGWrapper.Duel

파일 보기 프로젝트 열기: IceYGO/ygosharp 1 사용 예제들

공개 메소드들

메소드 설명
AddCard ( int cardId, int owner, CardLocation location ) : void
AddTagCard ( int cardId, int owner, CardLocation location ) : void
Create ( uint seed ) : Duel
End ( ) : void
GetNativePtr ( ) : IntPtr
InitPlayers ( int startLp, int startHand, int drawCount ) : void
Process ( ) : int
QueryCard ( int player, int location, int sequence, int flag ) : byte[]
QueryFieldCard ( int player, CardLocation location, int flag, bool useCache ) : byte[]
QueryFieldCount ( int player, CardLocation location ) : int
QueryFieldInfo ( ) : byte[]
SetAnalyzer ( Func analyzer ) : void
SetErrorHandler ( Action errorHandler ) : void
SetResponse ( byte resp ) : void
SetResponse ( int resp ) : void
Start ( int options ) : void

비공개 메소드들

메소드 설명
Create ( IntPtr pDuel ) : Duel
Dispose ( ) : void
Duel ( IntPtr duelPtr ) : System
HandleMessage ( BinaryReader reader, byte raw, int len ) : int
OnMessage ( UInt32 messageType ) : void

메소드 상세

AddCard() 공개 메소드

public AddCard ( int cardId, int owner, CardLocation location ) : void
cardId int
owner int
location CardLocation
리턴 void

AddTagCard() 공개 메소드

public AddTagCard ( int cardId, int owner, CardLocation location ) : void
cardId int
owner int
location CardLocation
리턴 void

Create() 공개 정적인 메소드

public static Create ( uint seed ) : Duel
seed uint
리턴 Duel

End() 공개 메소드

public End ( ) : void
리턴 void

GetNativePtr() 공개 메소드

public GetNativePtr ( ) : IntPtr
리턴 System.IntPtr

InitPlayers() 공개 메소드

public InitPlayers ( int startLp, int startHand, int drawCount ) : void
startLp int
startHand int
drawCount int
리턴 void

Process() 공개 메소드

public Process ( ) : int
리턴 int

QueryCard() 공개 메소드

public QueryCard ( int player, int location, int sequence, int flag ) : byte[]
player int
location int
sequence int
flag int
리턴 byte[]

QueryFieldCard() 공개 메소드

public QueryFieldCard ( int player, CardLocation location, int flag, bool useCache ) : byte[]
player int
location CardLocation
flag int
useCache bool
리턴 byte[]

QueryFieldCount() 공개 메소드

public QueryFieldCount ( int player, CardLocation location ) : int
player int
location CardLocation
리턴 int

QueryFieldInfo() 공개 메소드

public QueryFieldInfo ( ) : byte[]
리턴 byte[]

SetAnalyzer() 공개 메소드

public SetAnalyzer ( Func analyzer ) : void
analyzer Func
리턴 void

SetErrorHandler() 공개 메소드

public SetErrorHandler ( Action errorHandler ) : void
errorHandler Action
리턴 void

SetResponse() 공개 메소드

public SetResponse ( byte resp ) : void
resp byte
리턴 void

SetResponse() 공개 메소드

public SetResponse ( int resp ) : void
resp int
리턴 void

Start() 공개 메소드

public Start ( int options ) : void
options int
리턴 void