Move stuff around again
This commit is contained in:
parent
399d884681
commit
52c6fff445
151 changed files with 0 additions and 72 deletions
26
lib/mod.dart
Normal file
26
lib/mod.dart
Normal file
|
@ -0,0 +1,26 @@
|
|||
import 'package:libac_flutter/utils/uuid/NbtUUID.dart';
|
||||
import 'package:libac_flutter/utils/uuid/UUID.dart';
|
||||
|
||||
class Mod {
|
||||
String mod_name = "";
|
||||
int mod_id = 0;
|
||||
String mod_pak = "";
|
||||
String mod_hash = "";
|
||||
|
||||
bool newMod = false;
|
||||
NbtUUID _id = NbtUUID.ZERO;
|
||||
String mod_instance_id() {
|
||||
if (_id.toString() == NbtUUID.ZERO) {
|
||||
_id = NbtUUID.fromUUID(UUID.generate(4));
|
||||
}
|
||||
|
||||
return _id.toString();
|
||||
}
|
||||
|
||||
Mod(
|
||||
{this.mod_name = "undef",
|
||||
this.mod_id = 0,
|
||||
this.newMod = false,
|
||||
this.mod_pak = "Not Initialized",
|
||||
this.mod_hash = ""});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue