Created
October 1, 2011 06:20
-
-
Save Nub/1255679 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| ContentManager | |
| * Player Object | |
| * Game Center Hook | |
| * ContentProvider (keyPathCoding or acessors/methods) | |
| * Player.Name | |
| * Player.NetWorth | |
| * Player.StockList | |
| * Player.NetWorthOfStocks | |
| * Player.NetWorthOfStock(stock) | |
| * Player.NetPurchasPriceOfStock(stock) | |
| * Player.NumberOfShareInStock(stock) | |
| * Stocks.GetStock(stock) = returns StockObject | |
| * Stocks.NASDAQ() = list of NASDAQ StockObjects | |
| * Stocks.StockDidSplitSinceDate(stock, date) | |
| * Stocks.SearchStocks(searchTerm) = list of matchingStockNames | |
| * ContentPublisher (Updates GC and Pushes data to server) | |
| * Player.PurchaseStocks(stock, count) | |
| * Player.SellStocks(stock, count) | |
| * Player.PurchaseMoney(amount) = called from ContentPurchaser | |
| * Player.Sync() = Merges Pending data to server and GC | |
| * | |
| * ContentPurchaser | |
| * RequestIAPList | |
| * PriceForIAP(IAPIdentifier) | |
| * PurchaseIAP(IAPIdentifier) | |
| * CancelPurchase() //cancel any pending transactions | |
| * RestoreTransactions() //restore any non-consumables |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment