Game client codebase including: - CharacterActionControl: Character and creature management - GlobalScript: Network, items, skills, quests, utilities - RYLClient: Main client application with GUI and event handlers - Engine: 3D rendering engine (RYLGL) - MemoryManager: Custom memory allocation - Library: Third-party dependencies (DirectX, boost, etc.) - Tools: Development utilities 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
36 lines
778 B
C++
36 lines
778 B
C++
//-----------------------------------------------------------------------------
|
|
// File: iclassfact.h
|
|
//
|
|
// Desc: Implements the class factory for the UI.
|
|
//
|
|
// Copyright (C) 1999-2001 Microsoft Corporation. All Rights Reserved.
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef _ICLASSFACT_H
|
|
#define _ICLASSFACT_H
|
|
|
|
|
|
class CFactory : public IClassFactory
|
|
{
|
|
public:
|
|
|
|
//IUnknown
|
|
STDMETHOD (QueryInterface) (REFIID riid, LPVOID* ppv);
|
|
STDMETHOD_(ULONG, AddRef) ();
|
|
STDMETHOD_(ULONG, Release) ();
|
|
|
|
//IClassFactory
|
|
STDMETHOD (CreateInstance) (IUnknown* pUnkOuter, REFIID riid, LPVOID* ppv);
|
|
STDMETHOD (LockServer) (BOOL bLock);
|
|
|
|
//constructor/destructor
|
|
CFactory();
|
|
~CFactory();
|
|
|
|
protected:
|
|
LONG m_cRef;
|
|
};
|
|
|
|
|
|
#endif // _ICLASSFACT_H
|