C# Class Octgn.Play.Card

Inheritance: Octgn.Play.ControllableObject
Afficher le fichier Open project: octgn/OCTGN Class Usage Examples

Méthodes publiques

Свойство Type Description
PropertyOverrides Dictionary>

Private Properties

Свойство Type Description
AddMarker void
AddMarker void
Card System
Find Card
FindMarker Octgn.Play.Marker
FindRemovedMarker Octgn.Play.Marker
GetBitmapImage System.Windows.Media.Imaging.BitmapImage
IsVisibleToAll bool
MoveCardsTo void
MoveCardsTo void
MoveCardsTo void
NotControlledError void
Remove void
RemoveMarker int
RemoveMarker void
Reset void
SetFaceUp void
SetFilter void
SetHighlight void
SetMarker void
SetModel void
SetOrientation void
SetOverrideGroupVisibility void
SetTargetedBy void
SetVisibility void
TryToManipulate bool
hasProperty bool

Méthodes publiques

Méthode Description
AllCards ( ) : Octgn.Play.Card[]
Alternate ( ) : string
Alternates ( ) : string[]
GetIndex ( ) : int
GetProperty ( string name, object defaultReturn = null, System.StringComparison scompare = StringComparison.InvariantCulture, string alternate = null ) : object
IsProxy ( ) : bool
MoveCardsToTable ( Card cards, Action it, bool isScriptMove ) : void
MoveCardsToTable ( Card cards, int x, int y, bool lFaceUp, int idx, bool isScriptMove ) : void
MoveTo ( Group to, bool lFaceUp, bool isScriptMove ) : void
MoveTo ( Group to, bool lFaceUp, int idx, bool isScriptMove ) : void
MoveToTable ( int x, int y, bool lFaceUp, int idx, bool isScriptMove ) : void
MoveToTableRawStyle ( int x, int y, bool lFaceUp, int idx, bool isScriptMove ) : void
Peek ( ) : void
ResetProperties ( bool notifyServer = true ) : void
SetAnchored ( bool networked, bool anchored ) : void
SetIndex ( int idx ) : void
SetProperty ( string name, string val, bool notifyServer = true ) : void
SetSleeve ( int sleeveId ) : void
SetSleeve ( string pleeveUrl ) : void
SwitchTo ( Octgn.Play.Player player, string alternate = "", bool notifyServer = true ) : void
Target ( Card otherCard, bool isScriptChange ) : void
Target ( bool isScriptChange ) : void
ToString ( ) : string
ToggleTarget ( bool isScriptChange ) : void
Untarget ( bool isScriptChange ) : void

Méthodes protégées

Méthode Description
OnControllerChanged ( ) : void

Private Methods

Méthode Description
AddMarker ( DataNew model ) : void
AddMarker ( DataNew model, ushort count ) : void
Card ( Octgn.Play.Player owner, int id, DataNew model, bool mySecret, string cardsize ) : System
Find ( int id ) : Card
FindMarker ( System.Guid lId, string name ) : Octgn.Play.Marker
FindRemovedMarker ( System.Guid lId, string name ) : Octgn.Play.Marker
GetBitmapImage ( bool up, bool proxyOnly = false ) : BitmapImage
IsVisibleToAll ( ) : bool
MoveCardsTo ( Group to, Card cards, Action it, bool isScriptMove ) : void
MoveCardsTo ( Group to, Card cards, bool faceup, bool isScriptMove ) : void
MoveCardsTo ( Group to, Card cards, bool faceups, int idxs, bool isScriptMove ) : void
NotControlledError ( ) : void
Remove ( Card card ) : void
RemoveMarker ( Octgn.Play.Marker marker, ushort count ) : int
RemoveMarker ( Octgn.Play.Marker marker ) : void
Reset ( ) : void
SetFaceUp ( bool lFaceUp ) : void
SetFilter ( Color value ) : void
SetHighlight ( Color value ) : void
SetMarker ( Octgn.Play.Player player, System.Guid lId, string name, int count, bool notify = true ) : void
SetModel ( DataNew model ) : void
SetOrientation ( CardOrientation value ) : void
SetOverrideGroupVisibility ( bool overrides ) : void
SetTargetedBy ( Octgn.Play.Player player ) : void
SetVisibility ( GroupVisibility visibility, List viewers ) : void
TryToManipulate ( ) : bool
hasProperty ( string propertyName ) : bool

Method Details

AllCards() public static méthode

public static AllCards ( ) : Octgn.Play.Card[]
Résultat Octgn.Play.Card[]

Alternate() public méthode

public Alternate ( ) : string
Résultat string

Alternates() public méthode

public Alternates ( ) : string[]
Résultat string[]

GetIndex() public méthode

public GetIndex ( ) : int
Résultat int

GetProperty() public méthode

public GetProperty ( string name, object defaultReturn = null, System.StringComparison scompare = StringComparison.InvariantCulture, string alternate = null ) : object
name string
defaultReturn object
scompare System.StringComparison
alternate string
Résultat object

IsProxy() public méthode

public IsProxy ( ) : bool
Résultat bool

MoveCardsToTable() public static méthode

public static MoveCardsToTable ( Card cards, Action it, bool isScriptMove ) : void
cards Card
it Action
isScriptMove bool
Résultat void

MoveCardsToTable() public static méthode

public static MoveCardsToTable ( Card cards, int x, int y, bool lFaceUp, int idx, bool isScriptMove ) : void
cards Card
x int
y int
lFaceUp bool
idx int
isScriptMove bool
Résultat void

MoveTo() public méthode

public MoveTo ( Group to, bool lFaceUp, bool isScriptMove ) : void
to Group
lFaceUp bool
isScriptMove bool
Résultat void

MoveTo() public méthode

public MoveTo ( Group to, bool lFaceUp, int idx, bool isScriptMove ) : void
to Group
lFaceUp bool
idx int
isScriptMove bool
Résultat void

MoveToTable() public méthode

public MoveToTable ( int x, int y, bool lFaceUp, int idx, bool isScriptMove ) : void
x int
y int
lFaceUp bool
idx int
isScriptMove bool
Résultat void

MoveToTableRawStyle() public méthode

public MoveToTableRawStyle ( int x, int y, bool lFaceUp, int idx, bool isScriptMove ) : void
x int
y int
lFaceUp bool
idx int
isScriptMove bool
Résultat void

OnControllerChanged() protected méthode

protected OnControllerChanged ( ) : void
Résultat void

Peek() public méthode

public Peek ( ) : void
Résultat void

ResetProperties() public méthode

public ResetProperties ( bool notifyServer = true ) : void
notifyServer bool
Résultat void

SetAnchored() public méthode

public SetAnchored ( bool networked, bool anchored ) : void
networked bool
anchored bool
Résultat void

SetIndex() public méthode

public SetIndex ( int idx ) : void
idx int
Résultat void

SetProperty() public méthode

public SetProperty ( string name, string val, bool notifyServer = true ) : void
name string
val string
notifyServer bool
Résultat void

SetSleeve() public méthode

public SetSleeve ( int sleeveId ) : void
sleeveId int
Résultat void

SetSleeve() public méthode

public SetSleeve ( string pleeveUrl ) : void
pleeveUrl string
Résultat void

SwitchTo() public méthode

public SwitchTo ( Octgn.Play.Player player, string alternate = "", bool notifyServer = true ) : void
player Octgn.Play.Player
alternate string
notifyServer bool
Résultat void

Target() public méthode

public Target ( Card otherCard, bool isScriptChange ) : void
otherCard Card
isScriptChange bool
Résultat void

Target() public méthode

public Target ( bool isScriptChange ) : void
isScriptChange bool
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

ToggleTarget() public méthode

public ToggleTarget ( bool isScriptChange ) : void
isScriptChange bool
Résultat void

Untarget() public méthode

public Untarget ( bool isScriptChange ) : void
isScriptChange bool
Résultat void

Property Details

PropertyOverrides public_oe property

public Dictionary> PropertyOverrides
Résultat Dictionary>