# Stubs for gta.natives.datafile

import gta

def DATAFILE_SELECT_CREATOR_STATS(p0: int, p1: int) -> bool: ...
def DATADICT_GET_TYPE(objectData: int, key: str) -> int: ...
def DATAARRAY_GET_COUNT(arrayData: int) -> int: ...
def DATADICT_GET_FLOAT(objectData: int, key: str) -> float: ...
def DATADICT_GET_BOOL(objectData: int, key: str) -> bool: ...
def DATAFILE_HAS_LOADED_FILE_DATA(requestId: int) -> bool: ...
def DATAFILE_SELECT_ACTIVE_FILE(requestId: int, p1: int) -> bool: ...
def DATAFILE_STORE_MISSION_HEADER(p0: int) -> None: ...
def DATAARRAY_ADD_STRING(arrayData: int, value: str) -> None: ...
def DATADICT_SET_BOOL(objectData: int, key: str, value: bool) -> None: ...
def DATAARRAY_GET_TYPE(arrayData: int, arrayIndex: int) -> int: ...
def DATADICT_GET_STRING(objectData: int, key: str) -> str: ...
def DATAARRAY_GET_INT(arrayData: int, arrayIndex: int) -> int: ...
def DATAARRAY_ADD_VECTOR(arrayData: int, valueX: float, valueY: float, valueZ: float) -> None: ...
def UGC_UPDATE_MISSION(contentId: str, contentName: str, description: str, tagsCsv: str, contentTypeName: str, p5: int) -> bool: ...
def DATADICT_GET_VECTOR(objectData: int, key: str) -> 'gta.Vector3': ...
def DATADICT_SET_VECTOR(objectData: int, key: str, valueX: float, valueY: float, valueZ: float) -> None: ...
def DATAFILE_UPDATE_SAVE_TO_CLOUD(p0: int) -> bool: ...
def DATAARRAY_GET_BOOL(arrayData: int, arrayIndex: int) -> bool: ...
def DATAFILE_SELECT_UGC_PLAYER_DATA(p0: int, p1: int) -> bool: ...
def DATAARRAY_ADD_FLOAT(arrayData: int, value: float) -> None: ...
def DATADICT_CREATE_ARRAY(objectData: int, key: str) -> int: ...
def UGC_UPDATE_CONTENT(contentId: str, data: int, dataCount: int, contentName: str, description: str, tagsCsv: str, contentTypeName: str, p7: int) -> bool: ...
def DATAARRAY_ADD_DICT(arrayData: int) -> int: ...
def UGC_SET_PLAYER_DATA(contentId: str, rating: float, contentTypeName: str, p3: int) -> bool: ...
def DATAFILE_DELETE_FOR_ADDITIONAL_DATA_FILE(p0: int) -> None: ...
def DATAFILE_CLEAR_WATCH_LIST() -> None: ...
def DATADICT_GET_INT(objectData: int, key: str) -> int: ...
def DATADICT_GET_ARRAY(objectData: int, key: str) -> int: ...
def DATAFILE_START_SAVE_TO_CLOUD(filename: str, p1: int) -> bool: ...
def DATAARRAY_GET_DICT(arrayData: int, arrayIndex: int) -> int: ...
def DATAARRAY_GET_VECTOR(arrayData: int, arrayIndex: int) -> 'gta.Vector3': ...
def DATAFILE_DELETE_REQUESTED_FILE(requestId: int) -> bool: ...
def DATADICT_SET_STRING(objectData: int, key: str, value: str) -> None: ...
def DATAFILE_GET_FILE_DICT(p0: int) -> int: ...
def DATAFILE_DELETE(p0: int) -> None: ...
def DATAFILE_SELECT_UGC_STATS(p0: int, p1: bool, p2: int) -> bool: ...
def DATADICT_CREATE_DICT(objectData: int, key: str) -> int: ...
def UGC_CREATE_MISSION(contentName: str, description: str, tagsCsv: str, contentTypeName: str, publish: bool, p5: int) -> bool: ...
def DATAFILE_SELECT_UGC_DATA(p0: int, p1: int) -> bool: ...
def DATAFILE_LOAD_OFFLINE_UGC_FOR_ADDITIONAL_DATA_FILE(p0: int, p1: int) -> bool: ...
def DATAFILE_WATCH_REQUEST_ID(requestId: int) -> None: ...
def DATADICT_GET_DICT(objectData: int, key: str) -> int: ...
def DATAFILE_IS_SAVE_PENDING() -> bool: ...
def DATAARRAY_GET_FLOAT(arrayData: int, arrayIndex: int) -> float: ...
def DATADICT_SET_FLOAT(objectData: int, key: str, value: float) -> None: ...
def DATAFILE_LOAD_OFFLINE_UGC(filename: str, p1: int) -> bool: ...
def DATAFILE_FLUSH_MISSION_HEADER() -> None: ...
def UGC_CREATE_CONTENT(data: int, dataCount: int, contentName: str, description: str, tagsCsv: str, contentTypeName: str, publish: bool, p7: int) -> bool: ...
def DATAARRAY_ADD_INT(arrayData: int, value: int) -> None: ...
def DATAFILE_CREATE(p0: int) -> None: ...
def DATAARRAY_GET_STRING(arrayData: int, arrayIndex: int) -> str: ...
def DATAFILE_GET_FILE_DICT_FOR_ADDITIONAL_DATA_FILE(p0: int) -> int: ...
def DATADICT_SET_INT(objectData: int, key: str, value: int) -> None: ...
def DATAARRAY_ADD_BOOL(arrayData: int, value: bool) -> None: ...
def DATAFILE_HAS_VALID_FILE_DATA(requestId: int) -> bool: ...
def DATAFILE_IS_VALID_REQUEST_ID(index: int) -> bool: ...
