Elin Decompiled Documentation EA 23.102 Nightly
|
Classes | |
class | Balance |
Public Types | |
enum | Type { Slot , Blackjack , Scratch , Basket , CoinDrop } |
Public Member Functions | |
virtual void | OnActivate () |
virtual void | OnDeactivate () |
virtual void | SlidePosition (float w) |
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) |
Static Public Member Functions | |
static void | RegisterMiniGame (string id, MiniGame g, string _path) |
static void | Activate (Type type) |
Public Attributes | |
Balance | balance = new Balance() |
GameObject | go |
AssetBundle | asset |
string | path |
bool | isActive |
Static Public Attributes | |
static Dictionary< string, MiniGame > | minigames = new Dictionary<string, MiniGame>() |
Properties | |
virtual string | id [get] |
Definition at line 5 of file MiniGame.cs.
enum MiniGame.Type |
|
inlinestatic |
Definition at line 44 of file MiniGame.cs.
References Debug, minigames, LayerMiniGame.Run(), Msg.Say(), EClass.scene, Scene.TryWarnLinuxMod(), and EClass.ui.
Referenced by TraitBasketGame.OnActivateTrap(), TraitBJTable.OnUse(), TraitSlotMachine.OnUse(), and CoreDebug.UpdateInput().
|
inlinevirtual |
Definition at line 115 of file MiniGame.cs.
Referenced by LayerMiniGame.OnBack().
|
inline |
Definition at line 84 of file MiniGame.cs.
References balance, MiniGame.Balance.changeCoin, Layer.Close(), Debug, MiniGame.Balance.lastCoin, Card.ModCurrency(), OnDeactivate(), EClass.pc, and EClass.ui.
Referenced by LayerMiniGame.OnKill().
|
inline |
Definition at line 120 of file MiniGame.cs.
References EClass.ui.
|
inline |
Definition at line 152 of file MiniGame.cs.
References ThingGen.Create(), Debug, Msg.Say(), and Card.SetNum().
|
inlinevirtual |
|
inlinevirtual |
|
inline |
Definition at line 125 of file MiniGame.cs.
References Player.EndTurn(), Chara.isDead, Chara.IsDisabled, Stats.Mod(), Card.ModExp(), EClass.pc, EClass.player, Chara.stamina, LayerMiniGame.type, and EClass.ui.
|
inlinestatic |
Definition at line 37 of file MiniGame.cs.
|
inline |
|
inline |
Definition at line 101 of file MiniGame.cs.
References go.
Referenced by ModMinigame< T >.Load().
|
inlinevirtual |
Definition at line 80 of file MiniGame.cs.
Referenced by WidgetSideScreen.SlideMiniGame().
AssetBundle MiniGame.asset |
Definition at line 29 of file MiniGame.cs.
Referenced by ModMinigame< T >.Kill(), and ModMinigame< T >.Load().
Definition at line 25 of file MiniGame.cs.
Referenced by Deactivate().
GameObject MiniGame.go |
Definition at line 27 of file MiniGame.cs.
Referenced by ModMinigame< T >.Kill(), ModMinigame< T >.Load(), and SetAudioMixer().
bool MiniGame.isActive |
Definition at line 33 of file MiniGame.cs.
Definition at line 23 of file MiniGame.cs.
Referenced by Activate(), and RegisterMiniGame().
string MiniGame.path |
Definition at line 31 of file MiniGame.cs.
Referenced by ModMinigame< T >.Load(), and RegisterMiniGame().
|
get |
Definition at line 35 of file MiniGame.cs.
Referenced by RegisterMiniGame().