-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1851 from gereon77/fix-place-orders-for-vassals
Fix place orders for vassals and some other things
- Loading branch information
Showing
18 changed files
with
812 additions
and
553 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
agot-bg-game-server/src/client/game-state-panel/PlaceOrdersForVassalsComponent.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { Component, ReactNode } from "react"; | ||
import { observer } from "mobx-react"; | ||
import React from "react"; | ||
import GameStateComponentProps from "./GameStateComponentProps"; | ||
import renderChildGameState from "../utils/renderChildGameState"; | ||
import { Row } from "react-bootstrap"; | ||
import PlaceOrdersForVassalsGameState from "../../common/ingame-game-state/planning-game-state/place-orders-for-vassals-game-state/PlaceOrdersForVassalsGameState"; | ||
import ResolveSinglePlaceOrdersForVassalsGameState from "../../common/ingame-game-state/planning-game-state/place-orders-for-vassals-game-state/resolve-single-place-orders-for-vassals-game-state/ResolveSinglePlaceOrdersForVassalsGameState"; | ||
import ResolveSinglePlaceOrdersForVassalsComponent from "./ResolveSinglePlaceOrdersForVassalsComponent"; | ||
|
||
@observer | ||
export default class PlaceOrdersForVassalsComponent extends Component<GameStateComponentProps<PlaceOrdersForVassalsGameState>> { | ||
render(): ReactNode { | ||
return <Row className="justify-content-center"> | ||
{renderChildGameState(this.props, [ | ||
[ResolveSinglePlaceOrdersForVassalsGameState, ResolveSinglePlaceOrdersForVassalsComponent] | ||
])} | ||
</Row>; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.