Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

U2.PowerUp

Extends
U2Inventory
Modifiers
abstract

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Inventory
      |   
      +-- U2.U2Inventory
         |   
         +-- U2.PowerUp

Direct Known Subclasses:

EnergyPowerUp, HealthPowerUp, PowerStation

Variables Summary
floatLastTransferTime
PawnPowerUpOwner
PowerSuitTargetPowerSuit
PowerUp
boolbIsStation
stringDescription
intEnergyUnits
intHealthUnits
intTransferRate
Inherited Variables from U2.U2Inventory
ActivateSound, bActivatable, DeActivateSound, EffectSound
Inherited Variables from Engine.Inventory
AttachmentClass, bDisplayableInv, bMergesCopies, BobDamping, bTossedOut, Charge, GroupOffset, Icon, IconIndex, InventoryGroup, ItemID, ItemName, PickupClass, PlayerViewOffset, StatusIcon, ThirdPersonActor, ThirdPersonMesh, ThirdPersonMeshInstance, ThirdPersonRelativeLocation, ThirdPersonRelativeRotation, ThirdPersonScale, ThirdPersonStaticMesh

Functions Summary
function ActivateStation (Pawn P)
functionbool AddUnits (PowerUp PUI ))
functionint CalcPowerUp (int CalcUnits, float CurrentTime ))
function CheckStopStation (int MaxUnits, int TargetsCurrentUnits ))
function DeactivateStation ()
functionstring GetDescription ()
function GiveTo (pawn Other, optional bool bDontTryToSwitch ))
functionbool IsUsable (Actor Other)
function MakeStationEmpty ()
function OnUnuse (Actor Other)
function OnUse (Actor Other)
event PreBeginPlay ()))
function StopStation ()
event Tick (float DeltaTime))
function TickPowerUp (out int UnitsAvailable, int MaxUnits, out int TargetsCurrentUnits ))
functionint TransferPowerUp (int ToTransfer, int MaxUnits, int TargetsCurrentUnits, float CurrentTime ))
function TransferProperties (Pickup PickedUpItem ))
Inherited Functions from U2.U2Inventory
Activate, AdjustDamage, Deactivate, HandlePickupQuery, PostRender
Inherited Functions from Engine.Inventory
AttachToPawn, Destroyed, DetachFromPawn, DropFrom, GetHumanReadableName, GetShortName, GiveTo, HandlePickupQuery, NextWeapon, NotifyAddInventory, NotifyDeleteInventory, OwnerEvent, PickupFunction, PostRecvOwner, PrevWeapon, PrioritizeArmor, RecommendWeapon, RenderOverlays, Replication, SelectNext, SetOwnerDisplay, TransferProperties, TransferPropertiesTo, TransferSpecialProperties, TravelPostAccept, TravelPreAccept, updaterelative, Use, WeaponChange


Variables Detail

LastTransferTime Source code

var float LastTransferTime;

PowerUpOwner Source code

var Pawn PowerUpOwner;

TargetPowerSuit Source code

var PowerSuit TargetPowerSuit;

PowerUp

bIsStation Source code

var(PowerUp) bool bIsStation;

Description Source code

var(PowerUp) string Description;

EnergyUnits Source code

var(PowerUp) int EnergyUnits;

HealthUnits Source code

var(PowerUp) int HealthUnits;

TransferRate Source code

var(PowerUp) int TransferRate;


Functions Detail

ActivateStation Source code

function ActivateStation ( Pawn P )

AddUnits Source code

function bool AddUnits ( PowerUp PUI ) )

CalcPowerUp Source code

function int CalcPowerUp ( int CalcUnits, float CurrentTime ) )

CheckStopStation Source code

function CheckStopStation ( int MaxUnits, int TargetsCurrentUnits ) )

DeactivateStation Source code

function DeactivateStation ( )

GetDescription Source code

function string GetDescription ( )

GiveTo Source code

function GiveTo ( pawn Other, optional bool bDontTryToSwitch ) )

IsUsable Source code

function bool IsUsable ( Actor Other )

MakeStationEmpty Source code

function MakeStationEmpty ( )

OnUnuse Source code

function OnUnuse ( Actor Other )

OnUse Source code

function OnUse ( Actor Other )

PreBeginPlay Source code

event PreBeginPlay ( ) )

StopStation Source code

function StopStation ( )

Tick Source code

simulated event Tick ( float DeltaTime) )

TickPowerUp Source code

function TickPowerUp ( out int UnitsAvailable, int MaxUnits, out int TargetsCurrentUnits ) )

TransferPowerUp Source code

function int TransferPowerUp ( int ToTransfer, int MaxUnits, int TargetsCurrentUnits, float CurrentTime ) )

TransferProperties Source code

function TransferProperties ( Pickup PickedUpItem ) )


Defaultproperties

defaultproperties
{
	bMergesCopies=true
     UseReticleOnEvents(0)="UseReticleText"
     UseReticleOnEvents(1)="UseReticleCorners"
     UseReticleOnEvents(2)="UseReticleTopBars"
     ProximityReticleOnEvents(0)="ProximityReticleCorners"
     ProximityReticleOnEvents(1)="ProximityReticleTopBars"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 3-1-2016 10:48:31.806 - Created with UnCodeX