mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
fix 1.11 replication, fix some ltm specific stuff, start on shadow stones, fix some events not having foundations, fix s4-s6 gadgets, fix clear inventory on some versions
16 lines
450 B
C++
16 lines
450 B
C++
#pragma once
|
|
|
|
template <bool Const, typename Class, typename FuncType>
|
|
struct TMemFunPtrType;
|
|
|
|
template <typename Class, typename RetType, typename... ArgTypes>
|
|
struct TMemFunPtrType<false, Class, RetType(ArgTypes...)>
|
|
{
|
|
typedef RetType(Class::* Type)(ArgTypes...);
|
|
};
|
|
|
|
template <typename Class, typename RetType, typename... ArgTypes>
|
|
struct TMemFunPtrType<true, Class, RetType(ArgTypes...)>
|
|
{
|
|
typedef RetType(Class::* Type)(ArgTypes...) const;
|
|
}; |