Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079 00080 00081 00082 00083 00084 00085 00086 00087 00088 |
//============================================================================= // Player: Corresponds to a real player (a local camera or remote net player). // Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. //============================================================================= class Player extends Object native transient config(Engine) Inherits(FExec); // The actor this player controls. var transient const playercontroller Actor; // Net variables. var const int CurrentNetSpeed; var globalconfig int ConfiguredInternetSpeed, ConfiguredLanSpeed; /** Global multiplier for scene desaturation PP effect. */ var config float PP_DesaturationMultiplier; /** Global multiplier for scene highlights PP effect. */ var config float PP_HighlightsMultiplier; /** Global multiplier for scene midtones PP effect. */ var config float PP_MidTonesMultiplier; /** Global multiplier for scene shadows PP effect. */ var config float PP_ShadowsMultiplier; /** * Dynamically assign Controller to Player and set viewport. * * @param PC - new player controller to assign to player **/ native function SwitchController( PlayerController PC ); /** * Returns true if the client is currently downloading files from the server */ native function bool IsDownloading(); /** * Returns information about the currently active downloads (NOTE: Clientside only) * * @param DownloadList - Outputs the full list of files to be downloaded * @param GUIDList - Outputs the raw (non-string) GUID list, which directly corresponds to 'DownloadList' * * @return The total number of files to be downloaded */ native final noexport function int GetDownloadListInfo(optional out array<name> DownloadList, optional out array<GUID> GUIDList); /** * Retrieves information about the currently active file download * * @param File - Outputs the name of the file being downloaded * @param Size - Outputs the size (in bytes) of the active download * @param NumReceived - Outputs the number of bytes transferred thus far * @param Optional - Outputs whether or not the current download is optional * * @return Returns the download completion percentage */ native final noexport function float GetDownloadStatus(optional out name File, optional out int Size, optional out int NumReceived, optional out byte Optional); /** * Allows script code to skip the currently active file download (NOTE: Clientside only) */ native function SkipDownload(); // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) defaultproperties { ConfiguredInternetSpeed=10000 ConfiguredLanSpeed=20000 PP_DesaturationMultiplier=1.000000 PP_HighlightsMultiplier=1.000000 PP_MidTonesMultiplier=1.000000 PP_ShadowsMultiplier=1.000000 Name="Default__Player" ObjectArchetype=Object'Core.Default__Object' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |