com.GameInterface.DynelsBase

com.GameInterface.DynelsBase
Summary
com.GameInterface.DynelsBase
Functions
RegisterPropertyUse this call to ask for some values to be update each frame for the dynel defined by type and instance.
UnregisterPropertyStop the update from the earlier registered dynel.
SetTargetTarget something in a slot.
RefreshBuffs
TradeStart trade with the given id.
InviteToGuildInvite player to guild.
PromoteGuildMemberPromote a member of your guild.
DemoteGuildMemberDemote a member of your guild

Functions

RegisterProperty

public static function RegisterProperty(type: Number,
instance: Number,
enum: Number) : Object

Use this call to ask for some values to be update each frame for the dynel defined by type and instance.  You will get a object variable back that wuill have some fields filled depending on the enum you use.  The object you get back will always be the same if you do multiple calls to this function.  The object will have the wanted values filled already on return, ready to use.  If the dynel is removed from the pf, you’ll get DynelGone signal with the type and instance.  Then you don’t have to unregister.  Use UnregisterProperty(...) when you no longer need the updates.  Note that each property is refcounted so if you register the same dynel and enum from 2 different modules, you will also have to unregister both to make the update stop.  Enums and which members they will fill: Property::e_ObjPos /// Position.  Members: PosX, PosY, PosZ Property::e_ObjScreenPos /// Screen pos of the object and distance to camera.  Members: ObjScreenPosX, ObjScreenPosY Property::e_MissionScreenPos /// Screen pos of the mission selector and distance to camera.  Members: MissionScreenPosX, MissionScreenPosY, CamDistance, m_PosBlocked

Parameters

type[in] The type of objects
instance[in] The objects instance
enum[in] The property to ask for.
param [out] Object

UnregisterProperty

public static function UnregisterProperty(type: Number,
instance: Number,
enum: Number) : Void

Stop the update from the earlier registered dynel.

Parameters

type[in] The type of objects
instance[in] The objects instance
enum[in] The property to stop updateing for.

SetTarget

public static function SetTarget(slot: Number)

Target something in a slot.  This is restricted to slots only to avoid macroing.  The slot will end up as a hostile or friendly target all depending on it’s carsgroup.

Parameters

slot[in] The slot to target.

RefreshBuffs

public static function RefreshBuffs(slot: Number)

Trade

public static function Trade(id: com.Utils.ID32)

Start trade with the given id.

InviteToGuild

public static function InviteToGuild(id: com.Utils.ID32)

Invite player to guild.

PromoteGuildMember

public static function PromoteGuildMember(id: com.Utils.ID32)

Promote a member of your guild.

DemoteGuildMember

public static function DemoteGuildMember(id: com.Utils.ID32)

Demote a member of your guild

Signals regarding stats and buffs on any character, Wraps the ASDynels.cpp for actionscript
public static function RegisterProperty(type: Number,
instance: Number,
enum: Number) : Object
Use this call to ask for some values to be update each frame for the dynel defined by type and instance.
public static function UnregisterProperty(type: Number,
instance: Number,
enum: Number) : Void
Stop the update from the earlier registered dynel.
public static function SetTarget(slot: Number)
Target something in a slot.
public static function RefreshBuffs(slot: Number)
public static function Trade(id: com.Utils.ID32)
Start trade with the given id.
public static function InviteToGuild(id: com.Utils.ID32)
Invite player to guild.
public static function PromoteGuildMember(id: com.Utils.ID32)
Promote a member of your guild.
public static function DemoteGuildMember(id: com.Utils.ID32)
Demote a member of your guild
Close