C# Class GR.Gambling.Backgammon.Venue.BGLobby

Afficher le fichier Open project: alexhanh/Botting-Library

Protected Properties

Свойство Type Description
created_game_offers List

Méthodes publiques

Méthode Description
BGLobby ( ) : System
CreateGameOffer ( GameOffer game_offer ) : void

This should try to create a game offer in the lobby with the given offer parameters. Should add the game offer to created_game_offers upon succesful creation.

GetOffers ( ) : List
Update ( ) : void

This should be the method upon when called, detects different situations and triggers applicable events.

Méthodes protégées

Méthode Description
OnCreateGameOfferExpired ( GameOffer game_offer ) : void
OnJoinDeclined ( JoinOffer join_offer ) : void
OnJoinOffered ( JoinOffer join_offer ) : bool

Method Details

BGLobby() public méthode

public BGLobby ( ) : System
Résultat System

CreateGameOffer() public abstract méthode

This should try to create a game offer in the lobby with the given offer parameters. Should add the game offer to created_game_offers upon succesful creation.
public abstract CreateGameOffer ( GameOffer game_offer ) : void
game_offer GameOffer
Résultat void

GetOffers() public abstract méthode

public abstract GetOffers ( ) : List
Résultat List

OnCreateGameOfferExpired() protected méthode

protected OnCreateGameOfferExpired ( GameOffer game_offer ) : void
game_offer GameOffer
Résultat void

OnJoinDeclined() protected méthode

protected OnJoinDeclined ( JoinOffer join_offer ) : void
join_offer JoinOffer
Résultat void

OnJoinOffered() protected méthode

protected OnJoinOffered ( JoinOffer join_offer ) : bool
join_offer JoinOffer
Résultat bool

Update() public abstract méthode

This should be the method upon when called, detects different situations and triggers applicable events.
public abstract Update ( ) : void
Résultat void

Property Details

created_game_offers protected_oe property

protected List created_game_offers
Résultat List