Skip to content

Commit

Permalink
[Decomp Progress] Mapped out ctor/dtor TCString functions
Browse files Browse the repository at this point in the history
  • Loading branch information
AdventureT authored Sep 11, 2024
1 parent 904ca5f commit 148e119
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Toshi/Include/TKernel/TCString.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,30 +22,35 @@ class TKERNELINTERFACE_EXPORTS TCString
AllocBuffer(0);
}

// $TKernelInterface: FUNCTION 1000a5d0 COMPLETED
TCString(TINT a_iLength)
{
Reset();
AllocBuffer(a_iLength);
}

// $TKernelInterface: FUNCTION 1000b9f0 COMPLETED
TCString(const TCString &a_rOther)
{
Reset();
Copy(a_rOther);
}

// $TKernelInterface: FUNCTION 1000b9c0 COMPLETED
TCString(const TWString &a_rOther)
{
Reset();
Copy(a_rOther);
}

// $TKernelInterface: FUNCTION 1000ba50 COMPLETED
TCString(TPCCHAR a_pcString)
{
Reset();
Copy(a_pcString);
}

// $TKernelInterface: FUNCTION 1000b9b0 COMPLETED
~TCString()
{
FreeBuffer();
Expand Down Expand Up @@ -198,4 +203,4 @@ class TKERNELINTERFACE_EXPORTS TCString
TCString TKERNELINTERFACE_EXPORTS TOSHI_API operator+(TPCCHAR a_pLHS, const TCString& a_rRHS);
TCString TKERNELINTERFACE_EXPORTS TOSHI_API operator+(const TCString& a_rLHS, const TPCString& a_rRHS);

TOSHI_NAMESPACE_END
TOSHI_NAMESPACE_END

0 comments on commit 148e119

Please sign in to comment.