Property | Type | Description | |
---|---|---|---|
created_game_offers | List |
Method | 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.
|
Method | Description | |
---|---|---|
OnCreateGameOfferExpired ( GameOffer game_offer ) : void | ||
OnJoinDeclined ( JoinOffer join_offer ) : void | ||
OnJoinOffered ( JoinOffer join_offer ) : bool |
public abstract CreateGameOffer ( GameOffer game_offer ) : void | ||
game_offer | GameOffer | |
return | void |
protected OnCreateGameOfferExpired ( GameOffer game_offer ) : void | ||
game_offer | GameOffer | |
return | void |
protected OnJoinDeclined ( JoinOffer join_offer ) : void | ||
join_offer | JoinOffer | |
return | void |
protected OnJoinOffered ( JoinOffer join_offer ) : bool | ||
join_offer | JoinOffer | |
return | bool |