Upload from upload_mods.ps1
This commit is contained in:
36
Scripts/Network/NPCs/NetPackageSentHiresRebirth.cs
Normal file
36
Scripts/Network/NPCs/NetPackageSentHiresRebirth.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
public class NetPackageSentHiresRebirth : NetPackage
|
||||
{
|
||||
public NetPackageSentHiresRebirth Setup(
|
||||
)
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
public override void read(PooledBinaryReader _br)
|
||||
{
|
||||
}
|
||||
|
||||
public override void write(PooledBinaryWriter _bw)
|
||||
{
|
||||
base.write(_bw);
|
||||
}
|
||||
|
||||
public override int GetLength()
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
||||
public override void ProcessPackage(World _world, GameManager _callbacks)
|
||||
{
|
||||
//Log.Out("NetPackageSentHiresRebirth-ProcessPackage START");
|
||||
if (_world == null)
|
||||
{
|
||||
//Log.Out("NetPackageSentHiresRebirth-ProcessPackage 1");
|
||||
return;
|
||||
}
|
||||
|
||||
RebirthManager.loadedHires = true;
|
||||
//Log.Out("NetPackageSentHiresRebirth-ProcessPackage HIRES HAVE BEEN LOADED");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user