Editing Mod API Reference:GameOrderReceiveCard
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
== Functions == | == Functions == | ||
− | * '''WL.GameOrderReceiveCard.Create'''('''playerID''' ''[[Mod API Reference:PlayerID|PlayerID]]'', '''instances''' ''Array<[[Mod API Reference:CardInstance|CardInstance]]>'') (static) returns [[Mod API Reference:GameOrderReceiveCard|GameOrderReceiveCard]]: Creates an instance of the GameOrderReceiveCard class | + | * '''WL.GameOrderReceiveCard.Create'''('''playerID''' ''[[Mod API Reference:PlayerID|PlayerID]]'', '''instances''' ''Array<[[Mod API Reference:CardInstance|CardInstance]]>'') (static) returns [[Mod API Reference:GameOrderReceiveCard|GameOrderReceiveCard]]: Creates an instance of the GameOrderReceiveCard class. |
** '''playerID''': Pass the ID of the player who will receive cards. | ** '''playerID''': Pass the ID of the player who will receive cards. | ||
** '''instances''': Pass an array of whole cards to award to the player. See [[Mod API Reference:CardInstance|CardInstance]] for instructions on how to create these. | ** '''instances''': Pass an array of whole cards to award to the player. See [[Mod API Reference:CardInstance|CardInstance]] for instructions on how to create these. | ||
− |