mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 07:34:02 +02:00
Move shared Asset code to AssetUtils.h
This commit is contained in:
parent
3a2ef35a3b
commit
3843e642e5
1 changed files with 25 additions and 0 deletions
25
libraries/networking/src/AssetUtils.h
Normal file
25
libraries/networking/src/AssetUtils.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
//
|
||||
// AssetUtils.h
|
||||
//
|
||||
// Created by Ryan Huffman on 2015/07/30
|
||||
// Copyright 2015 High Fidelity, Inc.
|
||||
//
|
||||
// Distributed under the Apache License, Version 2.0.
|
||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
|
||||
#ifndef hifi_AssetUtils_h
|
||||
#define hifi_AssetUtils_h
|
||||
|
||||
using MessageID = uint32_t;
|
||||
using DataOffset = int64_t;
|
||||
|
||||
const int HASH_HEX_LENGTH = 32;
|
||||
|
||||
enum AssetServerError : uint8_t {
|
||||
NO_ERROR = 0,
|
||||
ASSET_NOT_FOUND,
|
||||
INVALID_BYTE_RANGE,
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue