aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Xbox/Sentient/Include/SenClientMarkers.h
blob: 1eac8fec06d73cba5bed0982bf17d1dae3aabc1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/********************************************************
*                                                       *
* Copyright (C) Microsoft. All rights reserved.         *
*                                                       *
********************************************************/

// Sentient Client UGC API
//
// Include this to get access to Markers.

#pragma once

#include "SenClientSys.h"


namespace Sentient
{
	/************************
	 ***** Marker Types *****
	 ************************/

	struct SenMarker
	{
		float		x, y, z;
		PlayerUID		user;
		int			userData;
		int			userData2;
	};


	/****************************
	 ***** Marker Functions *****
	 ****************************/

	HRESULT SenMarkerAdd(
		int userIndex,
		SenSysTitleID titleID,
		SenUGCID ugcID,
		const SenMarker *marker );

	HRESULT SenMarkerGetWithinArea(
		SenSysTitleID titleID,
		SenUGCID ugcID,
		float xMin, float yMin, float zMin,
		float xMax, float yMax, float zMax,
		int maxCount,
		PlayerUID friendsOf,
		int minTag,
		int maxTag,
		int tagMask,
		SenMarker **out_buffer,
		SenSysCompletedCallback userCallback,
		void *userCallbackData );

} // namespace Sentient