Savable class
Пакет: com.hypixel.hytale.server.core.universe.world.storage
Файл: com/hypixel/hytale/server/core/universe/world/storage/Savable.java
Поля (2)
| Модификаторы | Тип | Имя |
|---|---|---|
private |
boolean |
needsSaving |
|
boolean |
var1 |
Методы (5)
| Модификаторы | Возврат | Сигнатура |
|---|---|---|
public |
boolean |
consumeNeedsSavingboolean consumeNeedsSaving() |
public |
boolean |
isSavingboolean isSaving() |
public |
void |
markNeedsSavingvoid markNeedsSaving() |
public |
boolean |
needsSavingboolean needsSaving() |
public |
void |
setSavingvoid setSaving(boolean var1) |
Исходный код
Показать/скрыть
class="kw">package com.hypixel.hytale.server.core.universe.world.storage;
class="kw">public class Savable {
class="kw">private boolean needsSaving;
class="kw">private boolean isSaving;
class="kw">public Savable() {
}
class="kw">public boolean needsSaving() {
class="kw">return this.needsSaving;
}
class="kw">public void markNeedsSaving() {
this.needsSaving = true;
}
class="kw">public boolean consumeNeedsSaving() {
boolean var1 = this.needsSaving;
this.needsSaving = false;
class="kw">return var1;
}
class="kw">public boolean isSaving() {
class="kw">return this.isSaving;
}
class="kw">public void setSaving(boolean var1) {
this.isSaving = var1;
}
}