All CActor implemented (non-matching)

Former-commit-id: b421b27929b43dd8e5f8959c9ed022f5c2d2699c
This commit is contained in:
2023-10-19 18:51:57 -04:00
parent 3bfdfcf1de
commit f49069d4e6
20 changed files with 522 additions and 46 deletions

View File

@@ -34,10 +34,13 @@ class TCachedToken : public TToken< T > {
public:
TCachedToken() {}
TCachedToken(const CToken& token) : TToken< T >(token), x8_item(nullptr) {}
// __ct__23TCachedToken<8CTexture>FRC23TCachedToken<8CTexture>
// __as__21TCachedToken<6CModel>FRC21TCachedToken<6CModel>
T* operator*() { return x8_item; }
// T* operator*() { return x8_item; }
T* GetObject() const { return x8_item; }
bool IsLoaded() {
bool TryCache() {
if (x8_item != nullptr) {
return true;
}
@@ -49,6 +52,11 @@ public:
}
}
// Lock__23TCachedToken<8CTexture>Fv
// GetObject__23TCachedToken<8CTexture>CFv
// TryCache__23TCachedToken<8CTexture>Fv
// GetToken__21TCachedToken<6CModel>CFv
void Unlock() {
x8_item = nullptr;
TToken< T >::Unlock();