Export AllClasses

This commit is contained in:
ZippeyKeys12 2018-09-23 19:16:49 -05:00 committed by Christoph Oelckers
parent 8450dc5fdb
commit 77c5c1eb19
2 changed files with 2 additions and 0 deletions

View file

@ -2986,6 +2986,7 @@ DEFINE_GLOBAL(playeringame)
DEFINE_GLOBAL(PlayerClasses) DEFINE_GLOBAL(PlayerClasses)
DEFINE_GLOBAL_NAMED(Skins, PlayerSkins) DEFINE_GLOBAL_NAMED(Skins, PlayerSkins)
DEFINE_GLOBAL(consoleplayer) DEFINE_GLOBAL(consoleplayer)
DEFINE_GLOBAL_NAMED(PClass::AllClasses, AllClasses)
DEFINE_GLOBAL_NAMED(PClassActor::AllActorClasses, AllActorClasses) DEFINE_GLOBAL_NAMED(PClassActor::AllActorClasses, AllActorClasses)
DEFINE_GLOBAL(validcount) DEFINE_GLOBAL(validcount)
DEFINE_GLOBAL(multiplayer) DEFINE_GLOBAL(multiplayer)

View file

@ -1,5 +1,6 @@
struct _ native // These are the global variables, the struct is only here to avoid extending the parser for this. struct _ native // These are the global variables, the struct is only here to avoid extending the parser for this.
{ {
native readonly Array<class> AllClasses;
native readonly Array<class<Actor> > AllActorClasses; native readonly Array<class<Actor> > AllActorClasses;
native readonly Array<@PlayerClass> PlayerClasses; native readonly Array<@PlayerClass> PlayerClasses;
native readonly Array<@PlayerSkin> PlayerSkins; native readonly Array<@PlayerSkin> PlayerSkins;