Elin Modding Docs Doc
Loading...
Searching...
No Matches
ModMinigame< T > Class Template Reference
Inheritance diagram for ModMinigame< T >:
MiniGame

Public Member Functions

void Load ()
 
void Kill ()
 
- Public Member Functions inherited from MiniGame
virtual void OnActivate ()
 
virtual void OnDeactivate ()
 
void Deactivate ()
 
void SetAudioMixer (GameObject go)
 
void Say (string lang)
 
virtual bool CanExit ()
 
void Exit ()
 
bool OnPlay (int a)
 
void GetSlotReward (string id, int pay=1, int bet=1)
 

Public Attributes

game
 
- Public Attributes inherited from MiniGame
MiniGame.Balance balance = new MiniGame.Balance()
 
GameObject go
 
AssetBundle asset
 
string path
 
bool isActive
 

Additional Inherited Members

- Public Types inherited from MiniGame
enum  Type {
  Slot , Blackjack , Scratch , Basket ,
  CoinDrop
}
 
- Static Public Member Functions inherited from MiniGame
static void RegisterMiniGame (string id, MiniGame g, string _path)
 
static void Activate (MiniGame.Type type)
 
- Static Public Attributes inherited from MiniGame
static Dictionary< string, MiniGameminigames = new Dictionary<string, MiniGame>()
 
- Properties inherited from MiniGame
virtual string id [get]
 

Detailed Description

Type Constraints
T :Component 

Definition at line 5 of file ModMinigame.cs.

Member Function Documentation

◆ Kill()

void ModMinigame< T >.Kill ( )

Definition at line 25 of file ModMinigame.cs.

◆ Load()

void ModMinigame< T >.Load ( )

Definition at line 8 of file ModMinigame.cs.

Member Data Documentation

◆ game

T ModMinigame< T >.game

Definition at line 36 of file ModMinigame.cs.


The documentation for this class was generated from the following file: