forked from jo3bingham/TibiaAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCreature.cs
More file actions
61 lines (48 loc) · 1.68 KB
/
Creature.cs
File metadata and controls
61 lines (48 loc) · 1.68 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
using OXGaming.TibiaAPI.Appearances;
using OXGaming.TibiaAPI.Constants;
using OXGaming.TibiaAPI.Utilities;
namespace OXGaming.TibiaAPI.Creatures
{
public class Creature
{
public AppearanceInstance Mount { get; set; }
public AppearanceInstance Outfit { get; set; }
public Position Position { get; set; }
public CreatureInstanceType InstanceType { get; set; }
public CreatureType Type { get; set; }
public Direction Direction { get; set; }
public string Name { get; set; }
public uint Id { get; set; }
public uint RemoveCreatureId { get; set; }
public uint SummonerCreatureId { get; set; }
public ushort PvpHelpers { get; set; }
public ushort Speed { get; set; }
public byte Brightness { get; set; }
public byte GuildFlag { get; set; }
public byte HealthPercent { get; set; }
public byte InspectionState { get; set; }
public bool IsUnpassable { get; set; }
public byte LightColor { get; set; }
public byte Mark { get; set; }
public byte PartyFlag { get; set; }
public byte PkFlag { get; set; }
public byte SpeechCategory { get; set; }
public byte Vocation { get; set; }
public bool Visible { get; set; }
// TODO
public byte Unknown { get; set; }
public bool IsSummon
{
get
{
return Type == CreatureType.PlayerSummon;
}
}
public Creature(uint id, CreatureType type = CreatureType.Monster, string name = null)
{
Id = id;
Type = type;
Name = name;
}
}
}