Implemented hide AKA, Minor Node::class changes, other fixes

This commit is contained in:
Deon George
2021-08-14 16:14:22 +10:00
parent 569201e972
commit 4048289cf3
7 changed files with 86 additions and 35 deletions

View File

@@ -82,6 +82,7 @@ class Setup extends Model
{
parent::__construct($attributes);
// @todo These option should be in setup?
$this->binkp_options = ['m','d','r','b'];
/* EMSI SETTINGS */
@@ -142,6 +143,8 @@ class Setup extends Model
}
}
/* BINKP OPTIONS: BINKP_OPT_* */
public function binkpOptionClear(int $key): void
{
$this->binkp &= ~$key;
@@ -157,6 +160,8 @@ class Setup extends Model
$this->binkp |= $key;
}
/* GENERAL OPTIONS: O_* */
public function optionClear(int $key): void
{
$this->options &= ~$key;