public GameAI(frmTicTacToe objForm) { //_____________________________________________________________________________________________ // // Gets main form reference, who is CPU, who is player and // difficulty //_____________________________________________________________________________________________ objTicTacToe = objForm; wTypeCPU = objTicTacToe.wTypeCPU; wTypePlayer = objTicTacToe.wTypePlayer; wDifficulty = objTicTacToe.wDifficulty; }
public static extern int ISMS_GetVideoDetailInfo(int lPlayHandle, ref StructDataDef.stVideoDetailInfo stDetail, enPlayType enType); // C++中是long C#中为int
public static extern int ISMS_GetVolume(int lPlayHandle, enPlayType enType); // C++中是long C#中为int
public static extern int ISMS_CloseSound(int lPlayHandle, enPlayType enType); // C++中是long C#中为int