Prepare fixtures
This commit is contained in:
parent
797e5ea192
commit
9c94356263
6021 changed files with 722805 additions and 22 deletions
64
kf_sources/Gula/Classes/GulaMut.uc
Normal file
64
kf_sources/Gula/Classes/GulaMut.uc
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
/**
|
||||
* Main and only Gula mutator.
|
||||
* Copyright 2022 Anton Tarasenko
|
||||
*------------------------------------------------------------------------------
|
||||
* This file is part of Gula.
|
||||
*
|
||||
* Gula is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Gula is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Gula. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
class GulaMut extends Mutator;
|
||||
|
||||
// Acedia's references to a `...Global` objects.
|
||||
var private Global _;
|
||||
var private ClientGlobal _client;
|
||||
|
||||
var int count;
|
||||
|
||||
simulated public function PostBeginPlay()
|
||||
{
|
||||
if (level.netMode != NM_Client) {
|
||||
return;
|
||||
}
|
||||
_ = class'Global'.static.GetInstance();
|
||||
_client = class'ClientGlobal'.static.GetInstance();
|
||||
}
|
||||
|
||||
simulated function DoItPussy()
|
||||
{
|
||||
_client
|
||||
.unreal
|
||||
.GetLocalPlayer()
|
||||
.ClientMessage("Hey from Gula! Get fucking scammed, you idiot!");
|
||||
}
|
||||
|
||||
simulated function Tick(float delta)
|
||||
{
|
||||
count += 1;
|
||||
if (level.netMode != NM_Client) {
|
||||
return;
|
||||
}
|
||||
if (count % 30 == 0) {
|
||||
DoItPussy();
|
||||
}
|
||||
}
|
||||
|
||||
defaultproperties
|
||||
{
|
||||
GroupName = "Graphic libaries"
|
||||
FriendlyName = "Gula graphic library"
|
||||
Description = "Graphics library for Acedia"
|
||||
bAddToServerPackages = true
|
||||
bAlwaysRelevant = true
|
||||
RemoteRole = ROLE_SimulatedProxy
|
||||
}
|
||||
7
kf_sources/Gula/Classes/index.html
Normal file
7
kf_sources/Gula/Classes/index.html
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>Index of /kf_sources/Gula/Classes/</title></head>
|
||||
<body>
|
||||
<h1>Index of /kf_sources/Gula/Classes/</h1><hr><pre><a href="../">../</a>
|
||||
<a href="GulaMut.uc">GulaMut.uc</a> 17-Jul-2022 19:14 1852
|
||||
</pre><hr></body>
|
||||
</html>
|
||||
7
kf_sources/Gula/index.html
Normal file
7
kf_sources/Gula/index.html
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>Index of /kf_sources/Gula/</title></head>
|
||||
<body>
|
||||
<h1>Index of /kf_sources/Gula/</h1><hr><pre><a href="../">../</a>
|
||||
<a href="Classes/">Classes/</a> 29-Jun-2025 19:43 -
|
||||
</pre><hr></body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue