C# Class FOnline.NpcPlanes

Set of extension methods for Critter class helping to create AI plans.
ファイルを表示 Open project: wladimiiir/vault112

Public Methods

Method 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 method

public static AddAttackPlane ( this npc, uint priority, Critter target ) : bool
npc this
priority uint
target Critter
return bool

AddAttackPlane() public static method

public static AddAttackPlane ( this npc, uint priority, Critter target, bool run ) : bool
npc this
priority uint
target Critter
run bool
return bool

AddAttackPlane() public static method

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

AddAttackPlane() public static method

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

AddAttackPlane() public static method

public static AddAttackPlane ( this npc, uint priority, uint critId ) : bool
npc this
priority uint
critId uint
return bool

AddAttackPlane() public static method

public static AddAttackPlane ( this npc, uint priority, uint critId, bool run ) : bool
npc this
priority uint
critId uint
run bool
return bool

AddAttackPlane() public static method

public static AddAttackPlane ( this npc, uint priority, uint critId, int minHp ) : bool
npc this
priority uint
critId uint
minHp int
return bool

AddAttackPlane() public static method

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

AddMiscPlane() public static method

public static AddMiscPlane ( this npc, uint priority, uint waitSecond, string funcName ) : bool
npc this
priority uint
waitSecond uint
funcName string
return bool

AddPickPlane() public static method

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

AddPickPlane() public static method

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
return bool

AddPickPlane() public static method

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
return bool

AddWalkPlane() public static method

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
return bool

AddWalkPlane() public static method

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
return bool

EraseAttackPlane() public static method

public static EraseAttackPlane ( this npc, uint priority, Critter target ) : uint
npc this
priority uint
target Critter
return uint

EraseAttackPlane() public static method

public static EraseAttackPlane ( this npc, uint priority, uint critId ) : uint
npc this
priority uint
critId uint
return uint