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

UTPlusStandaloneHitSounds.UTPlusHitSoundTag

Extends
UTPlusTag

UTPlusHitSoundTag Creation date: 2010-06-03 13:57 Last change: $Id$ Copyright © 2010, Wormbo Website: http://www.koehler-homepage.de/Wormbo/ Feel free to reuse this code. Send me a note if you found it helpful or want to report bugs/provide improvements.

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Inventory
      |   
      +-- UTPlusStandaloneHitSounds.UTPlusTag
         |   
         +-- UTPlusStandaloneHitSounds.UTPlusHitSoundTag

Constants Summary
EMPTY_VEHICLE_HIT=0xA0
ENEMY_HIT=0x20
OBJECTIVE_HIT=0xC0
PROTECTED_HIT=0x80
TEAMMATE_HIT=0x40
VEHICLE_HIT=0x60

Variables Summary
TAccumulatedDamageAccumulatedDamage
ControllerController
THitSoundRepInfoHitSoundRepInfo
array<Sound>HitSounds
THitSoundRepInfoLastHitSoundInfo
UTPlusHitSoundTagnextTag
UTPlusSettingsSettings
Inherited Variables from UTPlusStandaloneHitSounds.UTPlusTag
bIsRegisteredOnClient, bIsRegisteredOnServer, Keeper, KeeperLocal
Inherited Variables from Engine.Inventory
AttachmentClass, bDisplayableInv, bDrawingFirstPerson, BobDamping, bTossedOut, Charge, GroupOffset, IconCoords, IconMaterial, InventoryGroup, ItemName, PickupClass, PlayerViewOffset, PlayerViewPivot, ThirdPersonActor

Enumerations Summary
EHitType
HT_None, HT_Enemy, HT_Teammate, HT_EnemyVehicle, HT_EmptyVehicle, HT_EnemyObjective

Structures Summary
TAccumulatedDamage
EnemyDamage, VehicleDamage, FriendlyDamage, EmptyVehicleDamage, ObjectiveDamage
THitSoundRepInfo
HitType, HitData

Functions Summary
function AddDamage (int Damage, Pawn Victim))
function AddObjectiveDamage (DestroyableObjective Objective))
function DispatchHitSound (bool bAllowVariableHitSounds))
functionUTPlusHitSoundTag FindFor (PlayerReplicationInfo Keeper))
functionController GetController ()))
functionSound GetHitSound (int HitSoundIndex))
functionUTPlusTag InternalGetFirst ()))
functionUTPlusTag InternalGetNext ()))
function InternalSetFirst (UTPlusTag TagFirst))
function InternalSetNext (UTPlusTag TagNext))
functionbool IsViewTarget ()))
functionSound LoadHitSound (string SoundName))
function PlayHitSound (THitSoundRepInfo HitSoundInfo))
function PostBeginPlay ()))
event PostNetReceive ()))
functionUTPlusHitSoundTag SpawnFor (PlayerReplicationInfo Keeper))
Inherited Functions from UTPlusStandaloneHitSounds.UTPlusTag
BeginPlay, Destroyed, DestroyFor, InternalFindFor, InternalGetFirst, InternalGetNext, InternalSetFirst, InternalSetNext, InternalSpawnFor, PostNetReceive, Register, RegisterInInventory, RegisterInList, RegisterLocal, Unregister, UnregisterFromInventory, UnregisterFromList, UnregisterLocal
Inherited Functions from Engine.Inventory
AttachToPawn, Destroyed, DetachFromPawn, DropFrom, GetHumanReadableName, GiveTo, HandlePickupQuery, NextWeapon, OwnerEvent, PickupFunction, PrevWeapon, PrioritizeArmor, RecommendWeapon, RenderOverlays, SelectNext, SetOwnerDisplay, StaticItemName, TravelPostAccept, TravelPreAccept, updaterelative, Use, WeaponChange


Constants Detail

EMPTY_VEHICLE_HIT Source code

const EMPTY_VEHICLE_HIT = 0xA0;

ENEMY_HIT Source code

const ENEMY_HIT = 0x20;

OBJECTIVE_HIT Source code

const OBJECTIVE_HIT = 0xC0;

PROTECTED_HIT Source code

const PROTECTED_HIT = 0x80;

TEAMMATE_HIT Source code

const TEAMMATE_HIT = 0x40;

VEHICLE_HIT Source code

const VEHICLE_HIT = 0x60;


Variables Detail

AccumulatedDamage Source code

var TAccumulatedDamage AccumulatedDamage;
Tracks this player's damage against various target categories.

Controller Source code

var Controller Controller;

HitSoundRepInfo Source code

var THitSoundRepInfo HitSoundRepInfo;
Replicated hit sound information.

HitSounds Source code

var array<Sound> HitSounds;

LastHitSoundInfo Source code

var THitSoundRepInfo LastHitSoundInfo;
Replicated hit sound information.

nextTag Source code

var UTPlusHitSoundTag nextTag;

Settings Source code

var UTPlusSettings Settings;
Client-side UTPlus settings.


Enumerations Detail

EHitType Source code

enum EHitType
{
HT_None, HT_Enemy, HT_Teammate, HT_EnemyVehicle, HT_EmptyVehicle, HT_EnemyObjective
};


Structures Detail

TAccumulatedDamage Source code

struct TAccumulatedDamage
{
var int EmptyVehicleDamage;
var int EnemyDamage;
var int FriendlyDamage;
var int ObjectiveDamage;
var int VehicleDamage;
};


THitSoundRepInfo Source code

struct THitSoundRepInfo
{
var byte HitData;
var EHitType HitType;
};



Functions Detail

AddDamage Source code

function AddDamage ( int Damage, Pawn Victim) )
Accumulates the damage dealt out by the player.

AddObjectiveDamage Source code

function AddObjectiveDamage ( DestroyableObjective Objective) )

DispatchHitSound Source code

function DispatchHitSound ( bool bAllowVariableHitSounds) )

FindFor Source code

static function UTPlusHitSoundTag FindFor ( PlayerReplicationInfo Keeper) )

GetController Source code

simulated function Controller GetController ( ) )

GetHitSound Source code

simulated function Sound GetHitSound ( int HitSoundIndex) )

InternalGetFirst Source code

protected simulated function UTPlusTag InternalGetFirst ( ) )

InternalGetNext Source code

protected simulated function UTPlusTag InternalGetNext ( ) )

InternalSetFirst Source code

protected simulated function InternalSetFirst ( UTPlusTag TagFirst) )

InternalSetNext Source code

protected simulated function InternalSetNext ( UTPlusTag TagNext) )

IsViewTarget Source code

simulated function bool IsViewTarget ( ) )

LoadHitSound Source code

static function Sound LoadHitSound ( string SoundName) )
Loads the specified hit sound. Unqualified names are assumed to specify sounds in the HitSounds group of the UTPlus package.

PlayHitSound Source code

simulated function PlayHitSound ( THitSoundRepInfo HitSoundInfo) )
Plays the specified hit sound type.

PostBeginPlay Source code

simulated function PostBeginPlay ( ) )
Get the client settings.

PostNetReceive Source code

simulated event PostNetReceive ( ) )

SpawnFor Source code

static function UTPlusHitSoundTag SpawnFor ( PlayerReplicationInfo Keeper) )


Defaultproperties

defaultproperties
{
	RemoteRole = ROLE_SimulatedProxy
	NetPriority = 2.999
}



Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Sa 23.8.2014 09:18:35.749 - Created with UnCodeX