/
BirdLeon
/
ROBLOX2016
Обзор
Документация
Войти
/
BirdLeon
/
ROBLOX2016
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
App/reflection/reflection_function.cpp
23 строки
994 B
PatoFlamejanteTV
full source code
19 дек 2024, 19:11
19 дек 2024, 19:11
05db15d
Код
Авторство
О чём код?
#include "stdafx.h" #include "reflection/Function.h" #include "reflection/YieldFunction.h" #include "reflection/object.h" using namespace RBX; using namespace RBX::Reflection; FunctionDescriptor::FunctionDescriptor(ClassDescriptor& classDescriptor, const char* name, Security::Permissions security, Attributes attributes) :MemberDescriptor(classDescriptor, name, "Function", attributes, security) ,kind(Kind_Default) { // TODO: This could be moved up into MemberDescriptor if it were templated... classDescriptor.MemberDescriptorContainer<FunctionDescriptor>::declare(this); } YieldFunctionDescriptor::YieldFunctionDescriptor(ClassDescriptor& classDescriptor, const char* name, Security::Permissions security, Attributes attributes) :MemberDescriptor(classDescriptor, name, "YieldFunction", attributes, security) { // TODO: This could be moved up into MemberDescriptor if it were templated... classDescriptor.MemberDescriptorContainer<YieldFunctionDescriptor>::declare(this); }