If you want to help us maintaining this wiki, check out our discord server: https://discord.gg/3u69jMa 

Player

From SWRC Wiki
Revision as of 20:21, 11 April 2021 by Plasma (talk | contribs) (Created page with "<source lang="c++"> //============================================================================= // Player: Corresponds to a real player (a local camera or remote net playe...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
//=============================================================================
// Player: Corresponds to a real player (a local camera or remote net player).
// This is a built-in Unreal class and it shouldn't be modified.
//=============================================================================
class Player extends Object
	native
	noexport;

//-----------------------------------------------------------------------------
// Player properties.

// Internal.
var native const int vfOut;
var native const int vfExec;

// The actor this player controls.
var transient const playercontroller Actor;
var transient Console Console;

// Window input variables
var transient const bool bWindowsMouseAvailable;
var bool bShowWindowsMouse;
var bool bSuspendPrecaching;
var transient const float WindowsMouseX;
var transient const float WindowsMouseY;
var int CurrentNetSpeed;
var globalconfig int ConfiguredInternetSpeed, ConfiguredLanSpeed;
var		byte GamePadIndex; // cg - keep track of split screen viewport to pad association
var		byte SplitIndex; // cg - keep track of player to split screen viewport index association
var		byte SelectedCursor;

var transient InteractionMaster InteractionMaster;	// Callback to the IM
var transient array<Interaction> LocalInteractions;	// Holds a listing of all local Interactions
/* NO_GUI_UI
var transient BaseGUIController GUIController;		// Callback to the Menu Controller
*/

const IDC_ARROW=0;
const IDC_SIZEALL=1;
const IDC_SIZENESW=2;
const IDC_SIZENS=3;
const IDC_SIZENWSE=4;
const IDC_SIZEWE=5;
const IDC_WAIT=6;


defaultproperties
{
     ConfiguredInternetSpeed=5000
     ConfiguredLanSpeed=20000
}