示例#1
0
        public static GameOrderPlayCardOrderDelay Create(CardInstanceIDType cardInstanceID, PlayerIDType playerID)
        {
            var o = new GameOrderPlayCardOrderDelay();

            o.CardInstanceID = cardInstanceID;
            o.PlayerID       = playerID;
            return(o);
        }
示例#2
0
        public static GameOrderDiscard Create(PlayerIDType playerID, CardInstanceIDType cardInstanceID)
        {
            var r = new GameOrderDiscard();

            r.PlayerID       = playerID;
            r.CardInstanceID = cardInstanceID;
            return(r);
        }
        public static GameOrderPlayCardReinforcement Create(CardInstanceIDType cardInstanceID, PlayerIDType playerID)
        {
            var o = new GameOrderPlayCardReinforcement();

            o.CardInstanceID = cardInstanceID;
            o.PlayerID       = playerID;
            return(o);
        }
示例#4
0
        public static GameOrderPlayCardFogged Create(PlayerIDType pid, CardInstanceIDType cid)
        {
            var ret = new GameOrderPlayCardFogged();

            ret.PlayerID       = pid;
            ret.CardInstanceID = cid;
            return(ret);
        }
示例#5
0
        public static GameOrderPlayCardBomb Create(CardInstanceIDType cardInstanceID, PlayerIDType playerID, TerritoryIDType targetTerritoryID)
        {
            var o = new GameOrderPlayCardBomb();

            o.CardInstanceID    = cardInstanceID;
            o.PlayerID          = (PlayerIDType)playerID;
            o.TargetTerritoryID = targetTerritoryID;
            return(o);
        }
示例#6
0
        public static GameOrderPlayCardSpy Create(CardInstanceIDType cardInstanceID, PlayerIDType playerID, PlayerIDType targetPlayerID)
        {
            var o = new GameOrderPlayCardSpy();

            o.CardInstanceID = cardInstanceID;
            o.PlayerID       = playerID;
            o.TargetPlayerID = targetPlayerID;
            return(o);
        }
        public static GameOrderPlayCardSurveillance Create(CardInstanceIDType cardInstanceID, PlayerIDType playerID, BonusIDType targetBonus)
        {
            var o = new GameOrderPlayCardSurveillance();

            o.CardInstanceID = cardInstanceID;
            o.PlayerID       = playerID;
            o.TargetBonus    = targetBonus;
            return(o);
        }
示例#8
0
        public static GameOrderPlayCardReconnaissance Create(CardInstanceIDType cardInstanceID, PlayerIDType playerID, TerritoryIDType targetTerritory)
        {
            var o = new GameOrderPlayCardReconnaissance();

            o.CardInstanceID  = cardInstanceID;
            o.PlayerID        = playerID;
            o.TargetTerritory = targetTerritory;
            return(o);
        }
        public static GameOrderPlayCardSanctions Create(CardInstanceIDType cardInstanceID, PlayerIDType playerID, PlayerIDType sanctionPlayer)
        {
            var o = new GameOrderPlayCardSanctions();

            o.CardInstanceID     = cardInstanceID;
            o.PlayerID           = (PlayerIDType)playerID;
            o.SanctionedPlayerID = sanctionPlayer;
            return(o);
        }
示例#10
0
        public static GameOrderPlayCardGift Create(CardInstanceIDType cardInstanceID, PlayerIDType playerID, TerritoryIDType terrID, PlayerIDType giftTo)
        {
            var o = new GameOrderPlayCardGift();

            o.CardInstanceID = cardInstanceID;
            o.PlayerID       = playerID;
            o.TerritoryID    = terrID;
            o.GiftTo         = giftTo;
            return(o);
        }
示例#11
0
        public static GameOrderPlayCardDiplomacy Create(CardInstanceIDType cardInstanceID, PlayerIDType playerID, PlayerIDType playerOne, PlayerIDType playerTwo)
        {
            var o = new GameOrderPlayCardDiplomacy();

            o.CardInstanceID = cardInstanceID;
            o.PlayerID       = (PlayerIDType)playerID;
            o.PlayerOne      = playerOne;
            o.PlayerTwo      = playerTwo;
            return(o);
        }
示例#12
0
        public static GameOrderPlayCardAirlift Create(CardInstanceIDType cardInstanceID, PlayerIDType playerID, TerritoryIDType fromTerritoryID, TerritoryIDType toTerritoryID, Armies numArmies)
        {
            var o = new GameOrderPlayCardAirlift();

            o.CardInstanceID  = cardInstanceID;
            o.PlayerID        = playerID;
            o.FromTerritoryID = fromTerritoryID;
            o.ToTerritoryID   = toTerritoryID;
            o.NumArmies       = numArmies;
            return(o);
        }