Typedefs | |
typedef void(* | ADODB_RecommendCriticalSectionProc_t )(const String &text) |
typedef __Position * | Position |
typedef ByteArrayPtr::Tombstone | ByteArrayPtr_Tombstone |
typedef RefCount< CallbackContext > | CallbackContextPtr |
typedef RefCount< CCryptoRsaKey > | CRsaKeyPtr |
typedef uint16_t | CryptCount |
typedef RefCount< CLoadedData2 > | CLoadedData2Ptr |
typedef CFastMap< Guid, CPropNodePtr > | PropNodeMap |
typedef CFastList< CPropNodePtr > | PropNodeList |
typedef uint16_t | RmiID |
typedef RefCount< ErrorInfo > | ErrorInfoPtr |
typedef uint16_t | HlaClassID |
typedef uint8_t | HlaFieldGroupID |
typedef uint64_t | HlaEntityID |
typedef unsigned int | HlaResult |
typedef CFastMap< HlaEntityID, CHlaEntity_C * > | CHlaEntities_C |
typedef RefCount < CLookasideAllocator > | CLookasideAllocatorPtr |
typedef CFastArray< COdbcWarning > | COdbcWarnings |
typedef RefCount< CP2PGroup > | CP2PGroupPtr |
typedef unsigned int | Crc32 |
typedef StringT< char, AnsiStrTraits > | StringA |
typedef StringT< wchar_t, UnicodeStrTraits > | StringW |
typedef StringW | String |
typedef StrBufT< char, AnsiStrTraits > | StrBufA |
typedef StrBufT< wchar_t, UnicodeStrTraits > | StrBufW |
typedef StringTraitsT< char, AnsiStrTraits > | StringTraitsA |
typedef StringTraitsT< wchar_t, UnicodeStrTraits > | StringTraitsW |
typedef StringTraitsW | StringTraits |
typedef StrBufW | StrBuf |
typedef RefCount< Thread > | ThreadPtr |
typedef RefCount< CPropNode > | CPropNodePtr |
typedef HANDLE(WINAPI * | CreateIoCompletionPortProc )(HANDLE FileHandle, HANDLE ExistingCompletionPort, ULONG_PTR CompletionKey, uint32_t NumberOfConcurrentThreads) |
typedef HEAP_INFORMATION_CLASS | HeapInformationClass |
typedef HEAP_INFORMATION_CLASS PVOID | HeapInformation |
typedef HEAP_INFORMATION_CLASS PVOID size_t | HeapInformationLength |
typedef PVOID | Context |
typedef PVOID uint32_t | Flags |
typedef LPDWORD | lpNumberOfBytesTransferred |
typedef LPDWORD PULONG_PTR | lpCompletionKey |
typedef LPDWORD PULONG_PTR LPOVERLAPPED * | lpOverlapped |
typedef LPDWORD PULONG_PTR LPOVERLAPPED uint32_t | dwMilliseconds |
typedef PN_OVERLAPPED_ENTRY * | lpCompletionPortEntries |
typedef PN_OVERLAPPED_ENTRY uint32_t | ulCount |
typedef PN_OVERLAPPED_ENTRY uint32_t PULONG | ulNumEntriesRemoved |
typedef PN_OVERLAPPED_ENTRY uint32_t PULONG uint32_t BOOL | fAlertable |
typedef PVECTORED_EXCEPTION_HANDLER | VectoredHandler |
typedef BOOL(WINAPI * | GetLogicalProcessorInformation )(PSYSTEM_LOGICAL_PROCESSOR_INFORMATION Buffer, PDWORD ReturnLength) |
typedef BOOLEAN | TimerOrWaitFired |
typedef HANDLE | TimerQueue |
typedef HANDLE WaitOrTimerCallbackProc | Callback |
typedef HANDLE WaitOrTimerCallbackProc PVOID | Parameter |
typedef HANDLE WaitOrTimerCallbackProc PVOID uint32_t | DueTime |
typedef HANDLE WaitOrTimerCallbackProc PVOID uint32_t uint32_t | Period |
typedef HANDLE | Timer |
typedef HANDLE HANDLE | CompletionEvent |
typedef uint32_t | dwSpinCount |
typedef void(* | RunAsyncFunction )(void *) |
typedef Vector3T< double > | Vector3 |
typedef Vector3T< float > | FloatVector3 |
Enumerations | |
enum | SocketErrorCode { SocketErrorCode_Ok = 0, SocketErrorCode_Error = SOCKET_ERROR, SocketErrorCode_Timeout = WSAETIMEDOUT, SocketErrorCode_ConnectionRefused = WSAECONNREFUSED, SocketErrorCode_ConnectResetByRemote = WSAECONNRESET, SocketErrorCode_AddressNotAvailable = WSAEADDRNOTAVAIL, SocketErrorCode_NotSocket = WSAENOTSOCK, SocketErrorCode_ShutdownByRemote = WSAEDISCON, SocketErrorCode_WouldBlock = WSAEWOULDBLOCK, SocketErrorCode_IoPending = WSA_IO_PENDING, SocketErrorCode_AccessError = WSAEACCES, SocketErrorCode_OperationAborted = ERROR_OPERATION_ABORTED, SocketErrorCode_InvalidArgument = WSAEINVAL, SocketErrorCode_Intr = WSAEINTR, SocketErrorCode_InProgress = WSAEINPROGRESS, SocketErrorCode_AlreadyIsConnected = WSAEISCONN, SocketErrorCode_AlreadyAttempting = WSAEALREADY, SocketErrorCode_Cancelled = WSAECANCELLED, SocketErrorCode_NetUnreachable = WSAENETUNREACH } |
enum | ShutdownFlag { ShutdownFlag_Send = SD_SEND, ShutdownFlag_Receive = SD_RECEIVE, ShutdownFlag_Both = SD_BOTH } |
enum | DbOpenFor { OpenForRead, OpenForFastRead, OpenForReadWrite, OpenForAppend } |
enum | DbmsType { MsSql, MySql } |
enum | CompressMode { CM_None, CM_Zip } |
enum | DbmsWritePropNodePendType { DWPNPT_None, DWPNPT_AddPropNode, DWPNPT_RemovePropNode, DWPNPT_RequestUpdatePropNode, DWPNPT_SetValueIf, DWPNPT_ModifyValue, DWPNPT_RequestUpdatePropNodeList, DWPNPT_MovePropNode, DWPNPT_UnilateralUpdatePropNode, DWPNPT_UnilateralUpdatePropNodeList, DWPNPT_UpdatePropNode } |
enum | EncryptMode { EM_None, EM_Secure, EM_Fast, EM_LAST } |
enum | MessagePriority { MessagePriority_Ring0 = 0, MessagePriority_Ring1, MessagePriority_High, MessagePriority_Medium, MessagePriority_Low, MessagePriority_Ring99, MessagePriority_LAST } |
enum | MessageReliability { MessageReliability_Unreliable = 0, MessageReliability_Reliable, MessageReliability_LAST } |
enum | HostID { HostID_None = 0, HostID_Server = 1, HostID_Last = 2 } |
enum | _RmiID { RmiID_None = 0, RmiID_Last = 65535 } |
enum | LogCategory { LogCategory_System, LogCategory_Tcp, LogCategory_Udp, LogCategory_P2P } |
enum | HackType { HackType_None, HackType_SpeedHack, HackType_PacketRig } |
enum | ConnectionState { ConnectionState_Disconnected, ConnectionState_Connecting, ConnectionState_Connected, ConnectionState_Disconnecting } |
enum | FallbackMethod { FallbackMethod_None, FallbackMethod_PeersUdpToTcp, FallbackMethod_ServerUdpToTcp, FallbackMethod_CloseUdpSocket } |
enum | DirectP2PStartCondition { DirectP2PStartCondition_Jit, DirectP2PStartCondition_Always, DirectP2PStartCondition_LAST } |
enum | ErrorReaction { ErrorReaction_MessageBox, ErrorReaction_AccessViolation, ErrorReaction_DebugOutput, ErrorReaction_DebugBreak } |
enum | ValueOperType { ValueOperType_Plus, ValueOperType_Minus, ValueOperType_Multiply, ValueOperType_Division } |
enum | ValueCompareType { ValueCompareType_GreaterEqual, ValueCompareType_Greater, ValueCompareType_LessEqual, ValueCompareType_Less, ValueCompareType_Equal, ValueCompareType_NotEqual } |
enum | EncryptLevel { EncryptLevel_Low = 128, EncryptLevel_Middle = 192, EncryptLevel_High = 256 } |
enum | FastEncryptLevel { FastEncryptLevel_Low = 512, FastEncryptLevel_Middle = 1024, FastEncryptLevel_High = 2048 } |
enum | HostType { HostType_Server, HostType_Peer, HostType_All } |
enum | HostIDGenerationPolicy { HostIDGenerationPolicy_Recycle = 1, HostIDGenerationPolicy_NoRecycle } |
enum | ThreadModel { ThreadModel_SingleThreaded = 1, ThreadModel_MultiThreaded, ThreadModel_UseExternalThreadPool } |
enum | ExceptionType { ExceptionType_None = 0, ExceptionType_String, ExceptionType_Std, ExceptionType_ComError, ExceptionType_Void, ExceptionType_ErrorInfo, ExceptionType_Unhandled, ExceptionType_Clr } |
enum | GrowPolicy { GrowPolicy_Normal, GrowPolicy_HighSpeed, GrowPolicy_LowMemory } |
enum | FastHeapAccessMode { FastHeapAccessMode_UnsafeSingleThread, FastHeapAccessMode_MultiThreaded } |
enum | HlaMessageType { HlaMessageType_Appear = 10, HlaMessageType_Disappear, HlaMessageType_RequestChange, HlaMessageType_NotifyChange } |
enum | Protocol { Protocol_Undefined, Protocol_UnreliableSend, Protocol_ReliableSend } |
enum | MiniDumpAction { MiniDumpAction_None = 0, MiniDumpAction_DoNothing, MiniDumpAction_AlarmCrash } |
enum | NetVariantType { NetVariantType_None, NetVariantType_Bool, NetVariantType_Int8, NetVariantType_Uint8, NetVariantType_Int16, NetVariantType_Uint16, NetVariantType_Int32, NetVariantType_Uint32, NetVariantType_Int64, NetVariantType_Uint64, NetVariantType_Float, NetVariantType_Double, NetVariantType_String, NetVariantType_TimeStamp, NetVariantType_Uuid, NetVariantType_Binary } |
enum | OdbcDataType { OdbcDataType_NULL = 0, OdbcDataType_BOOL = 1, OdbcDataType_TCHAR = 2, OdbcDataType_SINT8 = 3, OdbcDataType_UINT8 = 4, OdbcDataType_SINT16 = 5, OdbcDataType_UINT16 = 6, OdbcDataType_SINT32 = 7, OdbcDataType_UINT32 = 8, OdbcDataType_SINT64 = 9, OdbcDataType_UINT64 = 10, OdbcDataType_FLOAT = 11, OdbcDataType_DOUBLE = 12, OdbcDataType_STRING = 13, OdbcDataType_BYTE = 14, OdbcDataType_TIMESTAMP = 15 } |
enum | OdbcSqlDataType { OdbcSqlDataType_UNKNOWN = SQL_UNKNOWN_TYPE, OdbcSqlDataType_CHAR = SQL_CHAR, OdbcSqlDataType_VARCHAR = SQL_VARCHAR, OdbcSqlDataType_LONGVARCHAR = SQL_LONGVARCHAR, OdbcSqlDataType_WCHAR = SQL_WCHAR, OdbcSqlDataType_WVARCHAR = SQL_WVARCHAR, OdbcSqlDataType_WLONGVARCHAR = SQL_WLONGVARCHAR, OdbcSqlDataType_BIT = SQL_BIT, OdbcSqlDataType_TINYINT = SQL_TINYINT, OdbcSqlDataType_SMALLINT = SQL_SMALLINT, OdbcSqlDataType_INTEGER = SQL_INTEGER, OdbcSqlDataType_BIGINT = SQL_BIGINT, OdbcSqlDataType_REAL = SQL_REAL, OdbcSqlDataType_FLOAT = SQL_FLOAT, OdbcSqlDataType_DOUBLE = SQL_DOUBLE, OdbcSqlDataType_NUMERIC = SQL_NUMERIC, OdbcSqlDataType_DECIMAL = SQL_DECIMAL, OdbcSqlDataType_BINARY = SQL_BINARY, OdbcSqlDataType_VARBINARY = SQL_VARBINARY, OdbcSqlDataType_LONGVARBINARY = SQL_LONGVARBINARY, OdbcSqlDataType_DATE = SQL_DATE, OdbcSqlDataType_TIME = SQL_TIME, OdbcSqlDataType_TIMESTAMP = SQL_TIMESTAMP } |
enum | OdbcPrepareType { OdbcPrepareType_QUERY = 0, OdbcPrepareType_PROC = 1 } |
enum | OdbcParamType { OdbcParamType_INPUT = SQL_PARAM_INPUT, OdbcParamType_OUTPUT = SQL_PARAM_OUTPUT, OdbcParamType_INPUT_OUTPUT = SQL_PARAM_INPUT_OUTPUT } |
enum | LockResult { LockResult_Success, LockResult_Timeout, LockResult_Error } |
enum | { TIME_UTC = 1 } |
enum | eAccessMode { eAccessMode_None = 0, eAccessMode_Read = 1, eAccessMode_Write = 2 } |
enum | ServerUdpAssignMode { ServerUdpAssignMode_None, ServerUdpAssignMode_PerClient, ServerUdpAssignMode_Static } |
enum | SocketType { SocketType_Tcp, SocketType_Udp, SocketType_Raw, SocketType_WebSocket } |
enum | RunAsyncType { RunAsyncType_Single, RunAsyncType_Parallel } |
Functions | |
void | AppendTextOut (String &a, const AddrPort &b) |
void | AppendTextOut (String &a, const NamedAddrPort &b) |
PROUDSRV_API String | gds (const PNTCHAR *src) |
PROUDSRV_API void | RecommendNoCriticalSectionLock () |
__forceinline CMessage & | operator>> (CMessage &a, COleDateTime &b) |
__forceinline CMessage & | operator<< (CMessage &a, const COleDateTime &b) |
__forceinline CMessage & | operator>> (CMessage &a, CTime &b) |
__forceinline CMessage & | operator<< (CMessage &a, const CTime &b) |
__forceinline CMessage & | operator>> (CMessage &a, COleDateTimeSpan &b) |
__forceinline CMessage & | operator<< (CMessage &a, const COleDateTimeSpan &b) |
__forceinline void | AppendTextOut (String &a, COleDateTime &b) |
__forceinline void | AppendTextOut (String &a, COleDateTimeSpan &b) |
__forceinline void | AppendTextOut (String &a, CTime &b) |
__forceinline void | AppendTextOut (String &a, CTimeSpan &b) |
__forceinline CMessage & | operator>> (CMessage &a, CStringA &b) |
__forceinline CMessage & | operator<< (CMessage &a, const CStringA &b) |
__forceinline void | AppendTextOut (String &a, CStringA &b) |
__forceinline CMessage & | operator>> (CMessage &a, CStringW &b) |
__forceinline CMessage & | operator<< (CMessage &a, const CStringW &b) |
__forceinline void | AppendTextOut (String &a, CStringW &b) |
int32_t | AtomicIncrement32 (volatile int32_t *target) |
int32_t | AtomicDecrement32 (volatile int32_t *target) |
int32_t | AtomicCompareAndSwap32 (int32_t oldValue, int32_t newValue, volatile int32_t *target) |
template<typename EnumType , typename RealType > | |
EnumType | AtomicCompareAndSwapEnum (EnumType oldValue, EnumType newValue, volatile EnumType *target) |
intptr_t | AtomicIncrementPtr (volatile intptr_t *target) |
intptr_t | AtomicDecrementPtr (volatile intptr_t *target) |
void * | AtomicCompareAndSwapPtr (void *oldValue, void *newValue, volatile void **target) |
PROUD_API _Noreturn void | ThrowInt32OutOfRangeException (const char *where) |
PROUD_API void * | ByteArrayPtr_AllocTombstone () |
PROUD_API void | ByteArrayPtr_FreeTombstone (void *tombstone) |
uint32_t | GetAppropriateSpinCount () |
CMessage & | operator>> (CMessage &a, D3DXVECTOR3 &b) |
CMessage & | operator<< (CMessage &a, const D3DXVECTOR3 &b) |
CMessage & | operator>> (CMessage &a, D3DXMATRIX &b) |
CMessage & | operator<< (CMessage &a, const D3DXMATRIX &b) |
CMessage & | operator>> (CMessage &a, D3DXQUATERNION &b) |
CMessage & | operator<< (CMessage &a, const D3DXQUATERNION &b) |
CMessage & | operator>> (CMessage &a, D3DXVECTOR2 &b) |
CMessage & | operator<< (CMessage &a, const D3DXVECTOR2 &b) |
void | AppendTextOut (String &a, const D3DXMATRIX &) |
void | AppendTextOut (String &a, const D3DXQUATERNION &b) |
void | AppendTextOut (String &a, const D3DXVECTOR3 &b) |
void | AppendTextOut (String &a, const D3DXVECTOR2 &b) |
PROUDSRV_API const PNTCHAR * | TypeToString (DbmsWritePropNodePendType t) |
int | CompareHostID (HostID lhs, HostID rhs) |
PROUD_API const PNTCHAR * | ToString (LogCategory logCategory) |
PROUD_API const PNTCHAR * | ToString (ConnectionState val) |
void | XXXHeapChkImpl (int index=1) |
PROUD_API void | ThrowArrayIsNullError () |
template<typename T > | |
T * | FastHeap_NewInstance (CFastHeap *heap) |
template<typename T > | |
void | FastHeap_DeleteInstance (CFastHeap *heap, T *obj) |
template<typename XCHAR > | |
uint32_t | HashString (const XCHAR *str) |
Protocol | CombineProtocol (Protocol a, Protocol b) |
void | ThrowExceptionOnReadString (int length) |
PROUD_API void | ThrowExceptionOnReadArray (int64_t length) |
CMessage & | operator<< (CMessage &a, const StringA &str) |
CMessage & | operator>> (CMessage &a, StringA &str) |
CMessage & | operator<< (CMessage &a, const StringW &str) |
CMessage & | operator>> (CMessage &a, StringW &str) |
CMessage & | operator<< (CMessage &a, const std::string &str) |
CMessage & | operator>> (CMessage &a, std::string &str) |
CMessage & | operator<< (CMessage &a, const std::wstring &str) |
CMessage & | operator>> (CMessage &a, std::wstring &str) |
CMessage & | operator<< (CMessage &a, const char *str) |
CMessage & | operator<< (CMessage &a, const wchar_t *str) |
CMessage & | operator<< (CMessage &a, bool b) |
CMessage & | operator<< (CMessage &a, int8_t b) |
CMessage & | operator<< (CMessage &a, uint8_t b) |
CMessage & | operator<< (CMessage &a, int16_t b) |
CMessage & | operator<< (CMessage &a, uint16_t b) |
CMessage & | operator<< (CMessage &a, int32_t b) |
CMessage & | operator<< (CMessage &a, uint32_t b) |
CMessage & | operator<< (CMessage &a, uint64_t b) |
CMessage & | operator<< (CMessage &a, int64_t b) |
CMessage & | operator<< (CMessage &a, float b) |
CMessage & | operator<< (CMessage &a, double b) |
CMessage & | operator>> (CMessage &a, bool &b) |
CMessage & | operator>> (CMessage &a, int8_t &b) |
CMessage & | operator>> (CMessage &a, uint8_t &b) |
CMessage & | operator>> (CMessage &a, int16_t &b) |
CMessage & | operator>> (CMessage &a, uint16_t &b) |
CMessage & | operator>> (CMessage &a, int32_t &b) |
CMessage & | operator>> (CMessage &a, uint32_t &b) |
CMessage & | operator>> (CMessage &a, uint64_t &b) |
CMessage & | operator>> (CMessage &a, int64_t &b) |
CMessage & | operator>> (CMessage &a, float &b) |
CMessage & | operator>> (CMessage &a, double &b) |
CMessage & | operator>> (CMessage &a, AddrPort &b) |
CMessage & | operator<< (CMessage &a, AddrPort b) |
CMessage & | operator>> (CMessage &a, ByteArray &b) |
CMessage & | operator<< (CMessage &a, const ByteArray &b) |
CMessage & | operator>> (CMessage &a,::timespec &tc) |
CMessage & | operator<< (CMessage &a, const ::timespec &tc) |
template<typename elem , bool elem_in_ref, bool RAWTYPE, typename INDEXTYPE > | |
CMessage & | operator>> (CMessage &a, CFastArray< elem, elem_in_ref, RAWTYPE, INDEXTYPE > &b) |
template<typename elem , bool elem_in_ref, bool RAWTYPE, typename INDEXTYPE > | |
CMessage & | operator<< (CMessage &a, const CFastArray< elem, elem_in_ref, RAWTYPE, INDEXTYPE > &b) |
PROUD_API CMessage & | operator<< (CMessage &a, const NamedAddrPort &b) |
PROUD_API CMessage & | operator>> (CMessage &a, NamedAddrPort &b) |
PROUD_API void | AppendTextOut (String &a, const bool &b) |
PROUD_API void | AppendTextOut (String &a, const int8_t &b) |
PROUD_API void | AppendTextOut (String &a, const uint8_t &b) |
PROUD_API void | AppendTextOut (String &a, const int16_t &b) |
PROUD_API void | AppendTextOut (String &a, const uint16_t &b) |
PROUD_API void | AppendTextOut (String &a, const int32_t &b) |
PROUD_API void | AppendTextOut (String &a, const uint32_t &b) |
PROUD_API void | AppendTextOut (String &a, const int64_t &b) |
PROUD_API void | AppendTextOut (String &a, const uint64_t &b) |
PROUD_API void | AppendTextOut (String &a, const float &b) |
PROUD_API void | AppendTextOut (String &a, const double &b) |
PROUD_API void | AppendTextOut (String &a, const char *&b) |
PROUD_API void | AppendTextOut (String &a, const wchar_t *&b) |
PROUD_API void | AppendTextOut (String &a, const StringA &b) |
PROUD_API void | AppendTextOut (String &a, const StringW &b) |
void | AppendTextOut (String &a, const std::string &b) |
void | AppendTextOut (String &a, const std::wstring &b) |
PROUD_API void | AppendTextOut (String &a, const POINT &b) |
template<typename elem > | |
void | AppendTextOut (String &a, const CFastArray< elem > &b) |
PROUD_API void | AppendTextOut (String &a, const ByteArray &b) |
PROUD_API void | AppendTextOut (String &a, const ::timespec &b) |
template<typename FloatType > | |
CMessage & | operator>> (CMessage &a, Vector3T< FloatType > &b) |
template<typename FloatType > | |
CMessage & | operator<< (CMessage &a, const Vector3T< FloatType > &b) |
void | AppendTextOut (String &a, const FloatVector3 &b) |
void | AppendTextOut (String &a, const Vector3 &b) |
template<typename K , typename V > | |
__forceinline CMessage & | operator>> (CMessage &a, CFastMap< K, V > &b) |
template<typename K , typename V > | |
__forceinline CMessage & | operator<< (CMessage &a, const CFastMap< K, V > &b) |
template<typename K , typename V > | |
__forceinline void | AppendTextOut (String &a, const CFastMap< K, V > &b) |
template<typename elem > | |
__forceinline CMessage & | operator>> (CMessage &a, CFastList< elem > &b) |
template<typename elem > | |
__forceinline CMessage & | operator<< (CMessage &a, const CFastList< elem > &b) |
template<typename elem > | |
__forceinline void | AppendTextOut (String &a, const CFastList< elem > &b) |
__forceinline CMessage & | operator<< (CMessage &a, const ByteArrayPtr &b) |
__forceinline CMessage & | operator>> (CMessage &a, ByteArrayPtr &b) |
__forceinline void | AppendTextOut (String &a, const ByteArrayPtr &b) |
template<typename elem > | |
String | TestMarshaler (const elem &testee) |
void | AdjustReadOffsetByteAlign (CMessage &msg) |
void | AssureReadOffsetByteAlign (CMessage &msg) |
template<typename Type > | |
bool | Message_ReadScalar (CMessage &msg, Type &a) |
template<typename Type > | |
void | Message_WriteScalar (CMessage &msg, Type a) |
PROUD_API int64_t | GetPreciseCurrentTimeMs () |
PROUD_API int64_t | GetEpochTimeMs () |
DECLARE_DLL_SINGLETON (PROUD_API, CExceptionLogger) | |
DECLARE_DLL_SINGLETON (PROUD_API, CMiniDumper) | |
void | ThrowInvalidTypeException (NetVariantType type1, NetVariantType type2) |
PROUD_API | DEFINE_NETVARIANT_RAWTYPE (int8_t, Int8) PROUD_API DEFINE_NETVARIANT_RAWTYPE(uint8_t |
PROUD_API Uint8 PROUD_API | DEFINE_NETVARIANT_RAWTYPE (int16_t, Int16) PROUD_API DEFINE_NETVARIANT_RAWTYPE(uint16_t |
PROUD_API Uint8 PROUD_API Uint16 PROUD_API | DEFINE_NETVARIANT_RAWTYPE (int32_t, Int32) PROUD_API DEFINE_NETVARIANT_RAWTYPE(uint32_t |
PROUD_API Uint8 PROUD_API Uint16 PROUD_API Uint32 PROUD_API | DEFINE_NETVARIANT_RAWTYPE (int64_t, Int64) PROUD_API DEFINE_NETVARIANT_RAWTYPE(uint64_t |
PROUD_API Uint8 PROUD_API Uint16 PROUD_API Uint32 PROUD_API Uint64 PROUD_API | DEFINE_NETVARIANT_RAWTYPE (bool, Bool) PROUD_API DEFINE_NETVARIANT_RAWTYPE(float |
PROUD_API Uint8 PROUD_API Uint16 PROUD_API Uint32 PROUD_API Uint64 PROUD_API Float PROUD_API | DEFINE_NETVARIANT_RAWTYPE (double, Double) inline NetVariant |
DECLARE_DLL_SINGLETON (PROUDSRV_API, CNTService) | |
template<typename T > | |
T | Lerp (T v1, T v2, T ratio) |
template<typename T > | |
T | LerpInt (T v1, T v2, T ratio1, T ratio2) |
bool | operator< (const Guid &d1, const Guid &d2) |
bool | operator<= (const Guid &d1, const Guid &d2) |
bool | operator> (const Guid &d1, const Guid &d2) |
bool | operator>= (const Guid &d1, const Guid &d2) |
bool | operator== (const Guid &d1, const Guid &d2) |
bool | operator!= (const Guid &d1, const Guid &d2) |
PROUD_API CMessage & | operator>> (CMessage &a, Guid &b) |
PROUD_API CMessage & | operator<< (CMessage &a, const Guid &b) |
PROUD_API void | AppendTextOut (String &a, const Guid &b) |
PROUD_API _Noreturn void | ThrowInvalidArgumentException () |
template<typename XCHAR , typename StringTraits > | |
StringT< XCHAR, StringTraits > | operator+ (const StringT< XCHAR, StringTraits > &a, const StringT< XCHAR, StringTraits > &b) |
template<typename XCHAR , typename StringTraits > | |
StringT< XCHAR, StringTraits > | operator+ (const StringT< XCHAR, StringTraits > &a, const XCHAR *b) |
template<typename XCHAR , typename StringTraits > | |
StringT< XCHAR, StringTraits > | operator+ (const XCHAR *a, const StringT< XCHAR, StringTraits > &b) |
PROUD_API StringA | StringW2A (const wchar_t *src, CStringEncoder *encoder=NULL) |
PROUD_API StringW | StringA2W (const char *src, CStringEncoder *encoder=NULL) |
StringA | StringW2A (const StringW &src, CStringEncoder *encoder=NULL) |
StringW | StringA2W (const StringA &src, CStringEncoder *encoder=NULL) |
PROUD_API errno_t | localtime_pn (const ::time_t *time,::tm *t) |
errno_t | gmtime_pn (const ::time_t *time,::tm *t) |
PROUD_API int | timespec_get_pn (::timespec *tp, int const base) |
PROUD_API long long | timespec_to_nanosecond (const ::timespec &ts) |
PROUD_API int | nanosecond_to_timespec (const long long &ns, timespec *tp) |
PROUD_API long long | timespec_to_millisecond (const ::timespec &ts) |
PROUD_API int | millisecond_to_timespec (const long long &ms, timespec *tp) |
long long | GetCurrentTimeNanoSecond () |
PROUDSRV_API CMessage & | operator<< (CMessage &packet, const CProperty &rhs) |
PROUDSRV_API CMessage & | operator>> (CMessage &packet, CProperty &rhs) |
PROUDSRV_API CMessage & | operator<< (CMessage &packet, CPropNode &rhs) |
PROUDSRV_API CMessage & | operator>> (CMessage &packet, CPropNode &rhs) |
template<typename T > | |
bool | operator< (const CHeldPtr< T > a, const CHeldPtr< T > b) |
template<typename T > | |
T | GetRandomElement (const CFastArray< T > &arr) |
template<typename T > | |
T | GetRandomElement (const std::vector< T > &arr) |
template<typename T > | |
void | SafeDelete (T *&p) |
template<typename T > | |
void | SafeDeleteArray (T *&p) |
template<typename T , size_t N> | |
size_t | ArraySize (T(&)[N]) |
template<typename T , size_t N> | |
size_t | ArrayByteSize (T(&)[N]) |
errno_t | memcpy_s (void *dest, size_t dest_size, const void *src, size_t src_size) |
template<size_t _Size> | |
int | sprintf_s (char(&_Dst)[_Size], const char *_TArg1,...) |
int | sprintf_s (char *_Dst, size_t _Size, const char *_TArg1,...) |
template<size_t _Size> | |
int | _snscanf_s (char(&_Dst)[_Size], const char *_TArg1,...) |
int | _snscanf_s (char *_Dst, size_t _Size, const char *_TArg1,...) |
template<size_t _Size> | |
errno_t | strcpy_s (char(&_Dst)[_Size], const char *_Src) |
errno_t | strcpy_s (char *_Dst, size_t _Size, const char *_Src) |
template<size_t _Size> | |
errno_t | strncpy_s (char(&_Dst)[_Size], const char *_Src, size_t _MaxCount) |
errno_t | strncpy_s (char *_Dst, size_t _Size, const char *_Src, size_t _MaxCount) |
template<size_t _Size> | |
errno_t | wcscpy_s (wchar_t(&_Dst)[_Size], const wchar_t *_Src) |
errno_t | wcscpy_s (wchar_t *_Dst, size_t _Size, const wchar_t *_Src) |
template<size_t _Size> | |
errno_t | wcsncpy_s (wchar_t(&_Dst)[_Size], const wchar_t *_Src, size_t _MaxCount) |
errno_t | wcsncpy_s (wchar_t *_Dst, size_t _Size, const wchar_t *_Src, size_t _MaxCount) |
int | vprintf_s (char const *const _Format, va_list _ArgList) |
int | vwprintf_s (wchar_t const *const _Format, va_list _ArgList) |
template<size_t _Size> | |
errno_t | _tcscpy_s (wchar_t(&_Dst)[_Size], const wchar_t *_Src) |
template<size_t _Size> | |
errno_t | _tcscpy_s (char(&_Dst)[_Size], const char *_Src) |
size_t | _tcsftime (wchar_t *_Buf, size_t _SizeInWords, const wchar_t *_Format, const struct tm *_Tm) |
size_t | _tcsftime (char *_Buf, size_t _SizeInWords, const char *_Format, const struct tm *_Tm) |
int | _tprintf_s (const char *_Format,...) |
int | _tprintf_s (const wchar_t *_Format,...) |
template<typename T > | |
void | GetDllSingletonSharedPtr (RefCount< T > *output) |
template<typename T > | |
void | GetDllSingletonRawPtr (T **output) |
PROUD_API void | GetStackTrace (CFastArray< String > &output) |
template<typename K , typename V > | |
__forceinline CMessage & | operator>> (CMessage &a, std::map< K, V > &b) |
template<typename K , typename V > | |
__forceinline CMessage & | operator<< (CMessage &a, const std::map< K, V > &b) |
template<typename K , typename V > | |
__forceinline void | AppendTextOut (String &a, const std::map< K, V > &b) |
template<typename elem > | |
__forceinline CMessage & | operator>> (CMessage &a, std::vector< elem > &b) |
template<typename elem > | |
__forceinline CMessage & | operator<< (CMessage &a, const std::vector< elem > &b) |
template<typename elem > | |
__forceinline void | AppendTextOut (String &a, std::vector< elem > &b) |
template<typename elem > | |
__forceinline CMessage & | operator>> (CMessage &a, std::list< elem > &b) |
template<typename elem > | |
__forceinline CMessage & | operator<< (CMessage &a, std::list< elem > &b) |
template<typename elem > | |
__forceinline void | AppendTextOut (String &a, std::list< elem > &b) |
void | iconv_string_convert (CStringEncoder *encoder, const char *input, size_t *inbytesleft, char *out, size_t *outbytesleft) |
DECLARE_DLL_SINGLETON (PROUD_API, CStringPool) | |
PROUD_API void | Sleep (int sleepTimeMs) |
PROUD_API void | USleep (long uSec) |
PROUD_API void | FindFiles (const String &directory, const String &searchFilter, CFastArray< String > &output) |
PROUD_API uint32_t | GetNoofProcessors () |
PROUD_API String | GetProcessName () |
PROUD_API uint64_t | GetCurrentThreadID () |
PROUD_API void | ShowUserMisuseError (const PNTCHAR *text) |
PROUD_API void | TraceA (const char *format,...) |
size_t | GetOccupiedPhysicalMemory () |
size_t | GetTotalPhysicalMemory () |
String | GetComputerName () |
PROUD_API bool | EnableLowFragmentationHeap () |
PROUD_API String | GetCurrentProgramDirectory () |
PROUD_API void | SetCurrentDirectoryWhereProgramExists () |
PROUD_API int | SetCurrentDirectory (const PNTCHAR *directoryName) |
PROUD_API int64_t | GetCurrentProcessId () |
PROUD_API bool | GetFileLastWriteTime (const PNTCHAR *fileName, std::time_t &output) |
PROUD_API StringA | UntabifyText (const StringA &text) |
PROUD_API StringA | ReadTextFile (const char *fileName) |
PROUD_API bool | CreateTempDirectory (const PNTCHAR *prefix, String &output) |
PROUD_API bool | FileExists (const PNTCHAR *fileName) |
bool | IsServiceMode () |
bool | IsGqcsExSupported () |
bool | IsHyperThreading () |
uint32_t | CountSetBits (uintptr_t bitMask) |
typedef | BOOL (WINAPI *HeapSetInformationProc)(HANDLE HeapHandle |
typedef | PVOID (WINAPI *AddVectoredExceptionHandlerProc)(uint32_t FirstHandler |
String | GetFullPath (const PNTCHAR *fileName) |
bool | CreateFullDirectory (const PNTCHAR *lpPathName, String &outCreatedDirectory) |
String | GetCurrentDirectory () |
typedef | VOID (NTAPI *WaitOrTimerCallbackProc)(PVOID lpParameter |
typedef | HANDLE (WINAPI *CreateTimerQueueProc)(VOID) |
bool | GetWindowsVersion (DWORD &major, DWORD &minor, DWORD &servicePack) |
DECLARE_DLL_SINGLETON (PROUD_API, CLocale) | |
DECLARE_DLL_SINGLETON (PROUD_API, CSystemInfo) | |
PROUD_API int | GetTotalThreadCount () |
DWORD | GetThreadStatus (HANDLE const handle) |
PROUD_API String | GetMessageTextFromWin32Error (uint32_t errorCode) |
PROUD_API void | SetThreadName (uint32_t dwThreadID, const char *szThreadName) |
PROUD_API HANDLE | GetCurrentRealThread () |
DECLARE_DLL_SINGLETON (PROUD_API, CTimerQueue) | |
void * | TlsGetValue (uint32_t tlsIndex) |
bool | TlsSetValue (uint32_t tlsIndex, void *tlsValue) |
uint32_t | TlsAlloc () |
PROUD_API _Noreturn void | ThrowArrayOutOfBoundException () |
PROUD_API _Noreturn void | ThrowBadAllocException () |
PROUD_API _Noreturn void | ThrowException (const char *text) |
PROUD_API String | GetFileTimeString () |
template<size_t LENGTH> | |
int | CompareInt32Array (const void *a, const void *b) |
void | UnsafeFastMemmove (void *dest, const void *src, size_t length) |
PROUDSRV_API CMessage & | operator<< (CMessage &a, const CVariant &b) |
PROUDSRV_API CMessage & | operator>> (CMessage &a, CVariant &b) |
PROUDSRV_API void | AppendTextOut (String &a, const CVariant &b) |
template<typename FloatType > | |
FloatType | ScalarLerp (const FloatType v1, const FloatType v2, const FloatType ratio) |
template<typename FloatType > | |
Vector3T< FloatType > | operator* (FloatType scale, const struct Vector3T< FloatType > &src) |
Variables | |
const int | InvalidSocket = 0 |
CriticalSection * | ADODB_RefCriticalSection |
ADODB_RecommendCriticalSectionProc_t | ADODB_RecommendCriticalSectionProc |
PROUD_API volatile int | PROUDNET_H_LIB_SIGNATURE |
PROUD_API const Guid | DumpProtocolVersion |
const Guid | EmergencyProtocolVersion |
PROUD_API const char * | ExternalBufferArrayIsUninitializedError |
PROUD_API const char * | ExternalBufferArrayIsInitializedError |
const char * | CannotUseFastHeapForFilledCollectionErrorText |
const char * | ArrayPtrIsNullError |
const char * | ArrayPtrIsNotNullError |
const char * | MustInternalBufferError |
const char * | MustNotExternalBufferError |
const char * | MustUnsafeInternalBufferError |
PROUD_API const char * | AlreadyHasInternalBufferError |
const char * | AlreadyHasUnsafeInternalBufferError |
PROUD_API const char * | AlreadyHasExternalBufferError |
PROUD_API const uint32_t | FastMap_primes [] |
const HlaFieldGroupID | HlaFieldGroupID_None = 0 |
const HlaEntityID | HlaEntityID_None = 0 |
PROUD_API const PNTCHAR * | ProxyBadSignatureErrorText |
const PNTCHAR * | DecryptFailedError |
PROUD_API const char * | ConsistencyProblemText |
const int | StringSerializeMaxLength = 1024 * 1024 |
PROUD_API const char * | ReadOffsetAlignErrorText |
PROUD_API const char * | NullAccessErrorText |
const int | MaxCpuCoreCount = 4096 |
const int | LongMaxPath = 4000 |
이 모듈은 MFC나 D3DX에 의존적인 심볼들을 포함한다.
이 모듈은 MFC에 의존적인 심볼들을 포함한다.
typedef unsigned int Proud::HlaResult |
return values from synch class invocation.
return values from synch class invocation.
typedef StrBufT<char,AnsiStrTraits> Proud::StrBufA |
Class for manipulating ANSI character text string buffer
typedef StrBufT<wchar_t,UnicodeStrTraits> Proud::StrBufW |
Class for manipulating Unicode character text string bufferUnicode
typedef StringW Proud::String |
It is a string class. The string is a wchar_t type that supports UTF-16 at Windows but at the other platforms, it is a char type string that supports UTF-8.
typedef StringT<char,AnsiStrTraits> Proud::StringA |
ANSI character text string
typedef StringT<wchar_t,UnicodeStrTraits> Proud::StringW |
Unicode character text string
Sort of event that actually writting to user defined table in DB cache server
enum Proud::EncryptLevel |
enum Proud::ErrorReaction |
The way Proudnet shows error caused by user
Enumerator | |
---|---|
ErrorReaction_MessageBox |
Shows chat box. This may be useful during development process but it can also be very troublesome since the chat box can be seen to end users as full screen freezing. |
ErrorReaction_AccessViolation |
Causes a crash. From end users' point of view, this is definitely a crash so it can be rather easier to find what the problem is when released. But, it is more effective when used along with Error Dump System. |
ErrorReaction_DebugOutput |
It shows only debugger output screen. If you can not pop up crash or message box, please use this option. |
ErrorReaction_DebugBreak |
Put on the debugger brake. Please use this option only in the debugging mode. |
HLA message identifier
HLA message identifier
enum Proud::ThreadModel |
Thread model.
Enumerator | |
---|---|
ThreadModel_SingleThreaded |
Single thread model. Runs code on threads created by user. As there is no networker thread, You must call Proud::CNetClient::FrameMove for every 1/60 seconds. |
ThreadModel_MultiThreaded |
Multi thread model. Runs code on the separated thread pool. |
ThreadModel_UseExternalThreadPool |
Use-external-thread model. Runs code on Proud.CThreadPool instance create by user. |
enum Proud::ValueOperType |
PROUD_API void Proud::GetStackTrace | ( | CFastArray< String > & | output | ) |
Gets the call stack at the current execution point of the current thread. 获得当前线程的当前执行点的调用堆栈。
PROUD_API StringA Proud::StringW2A | ( | const wchar_t * | src, |
CStringEncoder * | encoder = NULL |
||
) |
Convert to String Function