C# Class FOnline.NpcPlanes

Set of extension methods for Critter class helping to create AI plans.
Afficher le fichier Open project: wladimiiir/vault112

Méthodes publiques

Méthode Description
AddAttackPlane ( this npc, uint priority, Critter target ) : bool
AddAttackPlane ( this npc, uint priority, Critter target, bool run ) : bool
AddAttackPlane ( this npc, uint priority, Critter target, int minHp ) : bool
AddAttackPlane ( this npc, uint priority, Critter target, int minHp, bool run ) : bool
AddAttackPlane ( this npc, uint priority, uint critId ) : bool
AddAttackPlane ( this npc, uint priority, uint critId, bool run ) : bool
AddAttackPlane ( this npc, uint priority, uint critId, int minHp ) : bool
AddAttackPlane ( this npc, uint priority, uint critId, int minHp, bool run ) : bool
AddMiscPlane ( this npc, uint priority, uint waitSecond, string funcName ) : bool
AddPickPlane ( this npc, uint priority, Item item, uint useItemId, bool toOpen ) : bool
AddPickPlane ( this npc, uint priority, Item item, uint useItemId, bool toOpen, bool run ) : bool
AddPickPlane ( this npc, uint priority, ushort hexX, ushort hexY, ushort protoId, uint useItemId, bool toOpen ) : bool
AddWalkPlane ( this npc, uint priority, int identifier, uint identifierExt, ushort hexX, ushort hexY, Direction dir, bool run, uint cut ) : bool
AddWalkPlane ( this npc, uint priority, ushort hexX, ushort hexY, Direction dir, bool run, uint cut ) : bool
EraseAttackPlane ( this npc, uint priority, Critter target ) : uint
EraseAttackPlane ( this npc, uint priority, uint critId ) : uint

Method Details

AddAttackPlane() public static méthode

public static AddAttackPlane ( this npc, uint priority, Critter target ) : bool
npc this
priority uint
target Critter
Résultat bool

AddAttackPlane() public static méthode

public static AddAttackPlane ( this npc, uint priority, Critter target, bool run ) : bool
npc this
priority uint
target Critter
run bool
Résultat bool

AddAttackPlane() public static méthode

public static AddAttackPlane ( this npc, uint priority, Critter target, int minHp ) : bool
npc this
priority uint
target Critter
minHp int
Résultat bool

AddAttackPlane() public static méthode

public static AddAttackPlane ( this npc, uint priority, Critter target, int minHp, bool run ) : bool
npc this
priority uint
target Critter
minHp int
run bool
Résultat bool

AddAttackPlane() public static méthode

public static AddAttackPlane ( this npc, uint priority, uint critId ) : bool
npc this
priority uint
critId uint
Résultat bool

AddAttackPlane() public static méthode

public static AddAttackPlane ( this npc, uint priority, uint critId, bool run ) : bool
npc this
priority uint
critId uint
run bool
Résultat bool

AddAttackPlane() public static méthode

public static AddAttackPlane ( this npc, uint priority, uint critId, int minHp ) : bool
npc this
priority uint
critId uint
minHp int
Résultat bool

AddAttackPlane() public static méthode

public static AddAttackPlane ( this npc, uint priority, uint critId, int minHp, bool run ) : bool
npc this
priority uint
critId uint
minHp int
run bool
Résultat bool

AddMiscPlane() public static méthode

public static AddMiscPlane ( this npc, uint priority, uint waitSecond, string funcName ) : bool
npc this
priority uint
waitSecond uint
funcName string
Résultat bool

AddPickPlane() public static méthode

public static AddPickPlane ( this npc, uint priority, Item item, uint useItemId, bool toOpen ) : bool
npc this
priority uint
item Item
useItemId uint
toOpen bool
Résultat bool

AddPickPlane() public static méthode

public static AddPickPlane ( this npc, uint priority, Item item, uint useItemId, bool toOpen, bool run ) : bool
npc this
priority uint
item Item
useItemId uint
toOpen bool
run bool
Résultat bool

AddPickPlane() public static méthode

public static AddPickPlane ( this npc, uint priority, ushort hexX, ushort hexY, ushort protoId, uint useItemId, bool toOpen ) : bool
npc this
priority uint
hexX ushort
hexY ushort
protoId ushort
useItemId uint
toOpen bool
Résultat bool

AddWalkPlane() public static méthode

public static AddWalkPlane ( this npc, uint priority, int identifier, uint identifierExt, ushort hexX, ushort hexY, Direction dir, bool run, uint cut ) : bool
npc this
priority uint
identifier int
identifierExt uint
hexX ushort
hexY ushort
dir Direction
run bool
cut uint
Résultat bool

AddWalkPlane() public static méthode

public static AddWalkPlane ( this npc, uint priority, ushort hexX, ushort hexY, Direction dir, bool run, uint cut ) : bool
npc this
priority uint
hexX ushort
hexY ushort
dir Direction
run bool
cut uint
Résultat bool

EraseAttackPlane() public static méthode

public static EraseAttackPlane ( this npc, uint priority, Critter target ) : uint
npc this
priority uint
target Critter
Résultat uint

EraseAttackPlane() public static méthode

public static EraseAttackPlane ( this npc, uint priority, uint critId ) : uint
npc this
priority uint
critId uint
Résultat uint