C# Class Octgn.Core.DataExtensionMethods.GameExtensionMethods

Exibir arquivo Open project: octgn/OCTGN

Private Properties

Property Type Description

Public Methods

Method Description
AllCards ( this game ) : IEnumerable
AllCards ( this game, bool hidden ) : IEnumerable
AllProperties ( this game ) : IEnumerable
CreateDeck ( this game ) : Octgn.DataNew.Entities.Deck
GetAllMarkers ( this game ) : IEnumerable
GetCardById ( this game, System.Guid id ) : Card
GetCardByName ( this game, string name ) : Card
GetCardProxyDef ( this game ) : Octgn.ProxyGenerator.ProxyDefinition
GetDefaultDeckPath ( this game ) : string
GetPackById ( this game, System.Guid id ) : Pack
GetScripts ( this game ) : IEnumerable
GetSetById ( this game, System.Guid id ) : Octgn.DataNew.Entities.Set
Install ( this game ) : Game

Not Implemented

Sets ( this game ) : IEnumerable
ToDataTable ( this cards, Game game ) : DataTable
UpdateGameHash ( this game, string hash ) : Game

Method Details

AllCards() public static method

public static AllCards ( this game ) : IEnumerable
game this
return IEnumerable

AllCards() public static method

public static AllCards ( this game, bool hidden ) : IEnumerable
game this
hidden bool
return IEnumerable

AllProperties() public static method

public static AllProperties ( this game ) : IEnumerable
game this
return IEnumerable

CreateDeck() public static method

public static CreateDeck ( this game ) : Octgn.DataNew.Entities.Deck
game this
return Octgn.DataNew.Entities.Deck

GetAllMarkers() public static method

public static GetAllMarkers ( this game ) : IEnumerable
game this
return IEnumerable

GetCardById() public static method

public static GetCardById ( this game, System.Guid id ) : Card
game this
id System.Guid
return Octgn.DataNew.Entities.Card

GetCardByName() public static method

public static GetCardByName ( this game, string name ) : Card
game this
name string
return Octgn.DataNew.Entities.Card

GetCardProxyDef() public static method

public static GetCardProxyDef ( this game ) : Octgn.ProxyGenerator.ProxyDefinition
game this
return Octgn.ProxyGenerator.ProxyDefinition

GetDefaultDeckPath() public static method

public static GetDefaultDeckPath ( this game ) : string
game this
return string

GetPackById() public static method

public static GetPackById ( this game, System.Guid id ) : Pack
game this
id System.Guid
return Octgn.DataNew.Entities.Pack

GetScripts() public static method

public static GetScripts ( this game ) : IEnumerable
game this
return IEnumerable

GetSetById() public static method

public static GetSetById ( this game, System.Guid id ) : Octgn.DataNew.Entities.Set
game this
id System.Guid
return Octgn.DataNew.Entities.Set

Install() public static method

Not Implemented
public static Install ( this game ) : Game
game this
return Game

Sets() public static method

public static Sets ( this game ) : IEnumerable
game this
return IEnumerable

ToDataTable() public static method

public static ToDataTable ( this cards, Game game ) : DataTable
cards this
game Game
return System.Data.DataTable

UpdateGameHash() public static method

public static UpdateGameHash ( this game, string hash ) : Game
game this
hash string
return Game