Open-source multiplayer game server compatible with the RuneScape client
https://www.openrs2.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
582 B
21 lines
582 B
package org.openrs2.cache
|
|
|
|
import com.google.inject.AbstractModule
|
|
import com.google.inject.Scopes
|
|
import org.openrs2.buffer.BufferModule
|
|
import org.openrs2.crypto.CryptoModule
|
|
|
|
public object CacheModule : AbstractModule() {
|
|
override fun configure() {
|
|
install(BufferModule)
|
|
install(CryptoModule)
|
|
|
|
bind(Store::class.java)
|
|
.toProvider(StoreProvider::class.java)
|
|
.`in`(Scopes.SINGLETON)
|
|
|
|
bind(Js5MasterIndex::class.java)
|
|
.toProvider(Js5MasterIndexProvider::class.java)
|
|
.`in`(Scopes.SINGLETON)
|
|
}
|
|
}
|
|
|