-
Notifications
You must be signed in to change notification settings - Fork 1
Client Documentation
App | App |
MainWindow | Resources |
GameBoard | Lobby |
App
InitializeComponent
Application Entry Point.
Interaction logic for App.xaml
Method called when the application quit
Name | Description |
---|---|
e |
System.Windows.ExitEventArgs |
Method called when the application start
Name | Description |
---|---|
e |
System.Windows.StartupEventArgs |
Function trigered when a chat msg is recieved
Name | Description |
---|---|
msg |
System.String |
Function who check the type of the event server
Name | Description |
---|---|
data |
System.Object |
Function called when the server send an Env info
Name | Description |
---|---|
data |
CardGameResources.Net.Packet |
Function called when the server send an Error
Name | Description |
---|---|
data |
CardGameResources.Net.Packet |
Function called when the server send a Game info
Name | Description |
---|---|
data |
CardGameResources.Net.Packet |
Function called when the server send a System info
Name | Description |
---|---|
data |
CardGameResources.Net.Packet |
Interaction logic for MainWindow.xaml
MainWindow
Default constructor for the MainWindow
Connect the client to the server when he click on this button
Name | Description |
---|---|
sender |
System.Object |
e |
System.Windows.RoutedEventArgs |
InitializeComponent
Getter and Setter for the singleton instance of MainWindow
Getter and Setter for the ProcessConnect state which indicate if the client is actually trying to connect to a server or not.
Quit the program when you press Escape
Name | Description |
---|---|
sender |
System.Object |
e |
System.Windows.Input.KeyEventArgs |
Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
Remplace la propriété CurrentUICulture du thread actuel pour toutes les recherches de ressources à l'aide de cette classe de ressource fortement typée.
Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
Interaction logic for GameBoard.xaml
GameBoard
Default constructor for the GameBoard
Set the card dropped previously to the boardCard
Set the card dropped previously to the boardCard
Set the card dropped previously to the boardCard
Set the card dropped previously to the boardCard
Action to send request of CardGameResources.Net.GameAction.C_TAKE_TRUMP_AS as null
Action to send request of CardGameResources.Net.GameAction.C_TAKE_TRUMP_AS as a color
Send a msg from the chat to the server
Name | Description |
---|---|
sender |
System.Object |
e |
System.Windows.Input.KeyEventArgs |
InitializeComponent
Getter and Setter for the singleton instance of the GameBoard
Get the card for the drop with the mouse
Get the card for the drop with the mouse
Get the card for the drop with the mouse
Get the card for the drop with the mouse
Get the card for the drop with the mouse
Get the card for the drop with the mouse
Get the card for the drop with the mouse
Get the card for the drop with the mouse
Quit the program when you press Escape
Name | Description |
---|---|
sender |
System.Object |
e |
System.Windows.Input.KeyEventArgs |
Interaction logic for Lobby.xaml
Lobby
Default constructor of the Lobby
InitializeComponent
Getter and Setter for the singleton instance of Lobby
Quit the program when you press Escape
Name | Description |
---|---|
sender |
System.Object |
e |
System.Windows.Input.KeyEventArgs |