프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Data | PropsDbData | ||
Info | Aura.Shared.Mabi.Structs.PropInfo | ||
_resource | float |
메소드 | 설명 | |
---|---|---|
Disappear ( ) : void |
Removes prop from its current region.
|
|
GetDropBehavior ( int dropType ) : PropFunc |
Returns prop behavior for dropping.
|
|
GetEmptyBehavior ( ) : PropFunc |
Returns a prop behavior that doesn't do anything. Use to prevent unimplemented messages. |
|
GetPosition ( ) : Position |
Returns prop's static position (Info.X|Y).
|
|
GetTargetableCreaturesInRange ( |
Returns targetable creatures in given range of prop. Owner of the prop and creatures he can't target are excluded.
|
|
GetWarpBehavior ( int region, int x, int y ) : PropFunc |
Returns prop behavior for warping.
|
|
HasTag ( string tag ) : bool |
Returns true if prop's data has the tag.
|
|
IsInside ( int x, int y ) : bool |
Returns true if the given position is inside the prop.
|
|
Prop ( PropData propData, int regionId, string regionName, string areaName ) : System |
Creates new prop, based on prop data.
|
|
Prop ( int id, int regionId, int x, int y, float direction, float scale = 1f, float altitude, string state = "", string ident = "", string title = "" ) : System |
Creates new prop with no specific entity id. The entity id is assigned automatically when the prop is added to a region, as the id depends on the prop's location and the region it's eventually added to. If the entity id is not supposed to be set upon adding the prop to a region, it should be set to anything but 0. |
|
Prop ( long entityId, int id, int regionId, int x, int y, float direction, float scale, float altitude, string state, string ident, string title ) : System |
Creates new prop with given entity id.
|
|
SetState ( string state ) : void |
Sets prop's state and broadcasts update.
|
|
ToString ( ) : string |
Returns information about the prop as string.
|
|
UpdateShapes ( ) : void |
Updates shapes for current state from defaults db.
|
메소드 | 설명 | |
---|---|---|
UpdateCollisions ( ) : void |
Updates prop's shapes and collisions in current region.
|
public static GetDropBehavior ( int dropType ) : PropFunc | ||
dropType | int | |
리턴 | PropFunc |
public GetTargetableCreaturesInRange ( |
||
owner | Owner of the prop, who is excluded and used as reference for CanTarget (null to ignore). | |
range | int | |
리턴 | ICollection |
public static GetWarpBehavior ( int region, int x, int y ) : PropFunc | ||
region | int | |
x | int | |
y | int | |
리턴 | PropFunc |
public Prop ( PropData propData, int regionId, string regionName, string areaName ) : System | ||
propData | PropData | |
regionId | int | |
regionName | string | |
areaName | string | |
리턴 | System |
public Prop ( int id, int regionId, int x, int y, float direction, float scale = 1f, float altitude, string state = "", string ident = "", string title = "" ) : System | ||
id | int | |
regionId | int | |
x | int | |
y | int | |
direction | float | |
scale | float | |
altitude | float | |
state | string | |
ident | string | |
title | string | |
리턴 | System |
public Prop ( long entityId, int id, int regionId, int x, int y, float direction, float scale, float altitude, string state, string ident, string title ) : System | ||
entityId | long | |
id | int | |
regionId | int | |
x | int | |
y | int | |
direction | float | |
scale | float | |
altitude | float | |
state | string | |
ident | string | |
title | string | |
리턴 | System |