~ruther/NosSmooth

ref: da6f3c2a1d653264f602010e0e868ea2f0e0619c NosSmooth/Local/NosSmooth.LocalCore/Character.h -rw-r--r-- 638 bytes
da6f3c2a — František Boháček fix: allow packet interceptor to reference nostale client 3 years ago
                                                                                
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
#pragma once
#include "ModuleHook.h"

namespace NosSmoothCore
{
	public ref class Character
	{
	public:
		/// <summary>
		/// Creates new instance of Character.
		/// </summary>
		/// <param name="moduleHook">The hooking module holding the information about NostaleX.dat</param>
		Character(NosSmoothCore::ModuleHook moduleHook);

		/// <summary>
		/// Starts walking to the specified x, y position
		/// </summary>
		/// <param name="x">The x coordinate to walk to.</param>
		/// <param name="y">The y coordinate to walk to.</param>
		void Walk(int x, int y);
	private:
		unsigned int _playerObject;
		unsigned int _walkFunction;
	};
}
Do not follow this link