new_card() private méthode

private new_card ( IntPtr pduel, UInt32 code, Byte owner, Byte playerid, Byte location, Byte sequence, Byte position ) : void
pduel System.IntPtr
code System.UInt32
owner Byte
playerid Byte
location Byte
sequence Byte
position Byte
Résultat void
Exemple #1
0
 public void AddCard(int cardId, int owner, CardLocation location)
 {
     Api.new_card(_duelPtr, (uint)cardId, (byte)owner, (byte)owner, (byte)location, 0, 0);
 }
Exemple #2
0
 public void AddCard(int cardId, int owner, CardLocation location)
 {
     Api.new_card(_duelPtr, (uint)cardId, (byte)owner, (byte)owner, (byte)location, 0, (byte)CardPosition.FaceDownDefence);
 }