HQService / HQFramework

A next-generation Bukkit development framework.
https://hqservice.kr
GNU General Public License v3.0
47 stars 1 forks source link

HQYamlConfiguration에 getLongList 추가 #27

Closed Cosine-A closed 1 year ago

Cosine-A commented 1 year ago

테스트는 안해봤지만 getIntegerList()의 로직에서 클래스만 바꾼거라 될 것으로 추정

Cosine-A commented 1 year ago
long-list:
  - 979904716345597952
  - 1102780103118827530
  - 1017837311947440179
@Test
fun test() {
    val file = File("src/test/resources/config.yml")
    val config = file.yaml()

    val list = config.getLongList("long-list")
    println(list)
}

image 완성