- removed all remaining native parts of APlayerPawn.
Unlike the other classes, the places where variables from this class were accessed were quite scattered so there isn't much scriptified code. Instead, most of these places are now using the script variable access methods. This was the last remaining subclass of AActor, meaning that class Actor can now be opened for user-side extensions.
This commit is contained in:
parent
c18e895272
commit
9521b6cd1f
36 changed files with 154 additions and 168 deletions
|
|
@ -1039,12 +1039,12 @@ FConsoleCommand::~FConsoleCommand ()
|
|||
delete[] m_Name;
|
||||
}
|
||||
|
||||
void FConsoleCommand::Run (FCommandLine &argv, APlayerPawn *who, int key)
|
||||
void FConsoleCommand::Run (FCommandLine &argv, AActor *who, int key)
|
||||
{
|
||||
m_RunFunc (argv, who, key);
|
||||
}
|
||||
|
||||
void FUnsafeConsoleCommand::Run (FCommandLine &args, APlayerPawn *instigator, int key)
|
||||
void FUnsafeConsoleCommand::Run (FCommandLine &args, AActor *instigator, int key)
|
||||
{
|
||||
if (UnsafeExecutionContext)
|
||||
{
|
||||
|
|
@ -1455,7 +1455,7 @@ bool FConsoleAlias::IsAlias ()
|
|||
return true;
|
||||
}
|
||||
|
||||
void FConsoleAlias::Run (FCommandLine &args, APlayerPawn *who, int key)
|
||||
void FConsoleAlias::Run (FCommandLine &args, AActor *who, int key)
|
||||
{
|
||||
if (bRunning)
|
||||
{
|
||||
|
|
@ -1519,7 +1519,7 @@ void FConsoleAlias::SafeDelete ()
|
|||
}
|
||||
}
|
||||
|
||||
void FUnsafeConsoleAlias::Run (FCommandLine &args, APlayerPawn *instigator, int key)
|
||||
void FUnsafeConsoleAlias::Run (FCommandLine &args, AActor *instigator, int key)
|
||||
{
|
||||
UnsafeExecutionScope scope;
|
||||
FConsoleAlias::Run(args, instigator, key);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue