forked from Elfocrash/L2dotNET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathABlock.cs
More file actions
47 lines (27 loc) · 1.5 KB
/
Copy pathABlock.cs
File metadata and controls
47 lines (27 loc) · 1.5 KB
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
using System.IO;
namespace L2dotNET.GeoEngine.Geodata
{
public abstract class ABlock
{
public abstract bool HasGeoPos();
public abstract short GetHeightNearest(int geoX, int geoY, int worldZ);
public abstract short GetHeightNearestOriginal(int geoX, int geoY, int worldZ);
public abstract short GetHeightAbove(int geoX, int geoY, int worldZ);
public abstract short GetHeightBelow(int geoX, int geoY, int worldZ);
public abstract byte GetNsweNearest(int geoX, int geoY, int worldZ);
public abstract byte GetNsweNearestOriginal(int geoX, int geoY, int worldZ);
public abstract byte GetNsweAbove(int geoX, int geoY, int worldZ);
public abstract byte GetNsweBelow(int geoX, int geoY, int worldZ);
public abstract int GetIndexNearest(int geoX, int geoY, int worldZ);
public abstract int GetIndexAbove(int geoX, int geoY, int worldZ);
public abstract int GetIndexAboveOriginal(int geoX, int geoY, int worldZ);
public abstract int GetIndexBelow(int geoX, int geoY, int worldZ);
public abstract int GetIndexBelowOriginal(int geoX, int geoY, int worldZ);
public abstract short GetHeight(int index);
public abstract short GetHeightOriginal(int index);
public abstract byte GetNswe(int index);
public abstract byte GetNsweOriginal(int index);
public abstract void SetNswe(int index, byte nswe);
public abstract void SaveBlock(BufferedStream stream);
}
}