SceneGroup.java 813 Bytes
Newer Older
1
2
3
4
5
6
7
package emu.grasscutter.scripts.data;

import java.util.List;

import emu.grasscutter.utils.Position;

public class SceneGroup {
8
9
	public transient int block_id; // Not an actual variable in the scripts but we will keep it here for reference
	
10
11
12
13
14
15
16
	public int id;
	public int refresh_id;
	public Position pos;
	
	public List<SceneMonster> monsters;
	public List<SceneGadget> gadgets;
	public List<SceneTrigger> triggers;
Melledy's avatar
Melledy committed
17
	public List<SceneRegion> regions;
18
19
	public List<SceneSuite> suites;
	public SceneInitConfig init_config;
20
21
22
23
24
25
26
27
28
29
	
	private transient boolean isLoaded; // Not an actual variable in the scripts either

	public boolean isLoaded() {
		return isLoaded;
	}
	
	public boolean setLoaded(boolean loaded) {
		return loaded;
	}
Melledy's avatar
Melledy committed
30
31
32
33
	
	public SceneSuite getSuiteByIndex(int index) {
		return suites.get(index - 1);
	}
34
}