mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
SQLite database, Entities, position, health
This commit is contained in:
parent
842e01ffac
commit
ea1725ed57
15 changed files with 472 additions and 77 deletions
|
|
@ -38,6 +38,15 @@ console("[DEBUG] Endianness: ".(ENDIANNESS === LITTLE_ENDIAN ? "Little Endian":"
|
|||
|
||||
class Utils{
|
||||
|
||||
/*public static function hashCode($str){
|
||||
$h = 0;
|
||||
$len = strlen($str);
|
||||
for($i = 0; $i < $len; ++$i) {
|
||||
$h = 31 * $h + $str[$i];
|
||||
}
|
||||
return $h;
|
||||
}*/
|
||||
|
||||
public static function getOS(){
|
||||
$uname = strtoupper(php_uname("s"));
|
||||
if(strpos($uname, "WIN") !== false){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue