mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
a lot
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
This commit is contained in:
16
Project Reboot 3.0/DelegateInstanceInterface.h
Normal file
16
Project Reboot 3.0/DelegateInstanceInterface.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#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;
|
||||
};
|
||||
Reference in New Issue
Block a user