too much stuff

fix s3, fix health + backpack bug on 1.11, change replciation, fix 7.20 & 12.61, fix backpack on >S9, probably some other stuff i forgot
This commit is contained in:
Milxnor
2023-04-03 02:04:29 -04:00
parent ffbba9e9a4
commit cb57a1b843
32 changed files with 1457 additions and 216 deletions

View File

@@ -0,0 +1,36 @@
#pragma once
template< class ObjectType>
class TSharedPtr
{
public:
ObjectType* Object;
int32 SharedReferenceCount;
int32 WeakReferenceCount;
FORCEINLINE ObjectType* Get()
{
return Object;
}
FORCEINLINE ObjectType* Get() const
{
return Object;
}
FORCEINLINE ObjectType& operator*()
{
return *Object;
}
FORCEINLINE const ObjectType& operator*() const
{
return *Object;
}
FORCEINLINE ObjectType* operator->()
{
return Object;
}
FORCEINLINE ObjectType* operator->() const
{
return Object;
}
};