100 lines
2.8 KiB
C#
100 lines
2.8 KiB
C#
//
|
|
// FunctionFlags.cs - indicates attributes for a function in an Unreal Engine package
|
|
//
|
|
// Author:
|
|
// Michael Becker <alcexhim@gmail.com>
|
|
//
|
|
// Copyright (c) 2011-2020 Mike Becker's Software
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
namespace UniversalEditor.ObjectModels.UnrealEngine
|
|
{
|
|
/// <summary>
|
|
/// Indicates attributes for a function in an Unreal Engine package.
|
|
/// </summary>
|
|
public enum FunctionFlags
|
|
{
|
|
None = 0x00000000,
|
|
/// <summary>
|
|
/// Function is final (prebindable, non-overridable function).
|
|
/// </summary>
|
|
Final = 0x00000001,
|
|
/// <summary>
|
|
/// Function has been defined (not just declared). Not used in source code.
|
|
/// </summary>
|
|
Defined = 0x00000002,
|
|
/// <summary>
|
|
/// Function is an iterator.
|
|
/// </summary>
|
|
Iterator = 0x00000004,
|
|
/// <summary>
|
|
/// Function is a latent state function.
|
|
/// </summary>
|
|
Latent = 0x00000008,
|
|
/// <summary>
|
|
/// Unary operator is a prefix operator.
|
|
/// </summary>
|
|
PrefixOperator = 0x00000010,
|
|
/// <summary>
|
|
/// Function cannot be reentered.
|
|
/// </summary>
|
|
Singular = 0x00000020,
|
|
/// <summary>
|
|
/// Function is network-replicated. Not used in source code.
|
|
/// </summary>
|
|
NetworkReplicated = 0x00000040,
|
|
/// <summary>
|
|
/// Function should be sent reliably on the network. Not used in source code.
|
|
/// </summary>
|
|
NetworkReliable = 0x00000080,
|
|
/// <summary>
|
|
/// Function executed on the client side.
|
|
/// </summary>
|
|
Simulated = 0x00000100,
|
|
/// <summary>
|
|
/// Executable from command line.
|
|
/// </summary>
|
|
CommandLine = 0x00000200,
|
|
/// <summary>
|
|
/// Native function.
|
|
/// </summary>
|
|
Native = 0x00000400,
|
|
/// <summary>
|
|
/// Event function.
|
|
/// </summary>
|
|
Event = 0x00000800,
|
|
/// <summary>
|
|
/// Operator function.
|
|
/// </summary>
|
|
Operator = 0x00001000,
|
|
/// <summary>
|
|
/// Static function.
|
|
/// </summary>
|
|
Static = 0x00002000,
|
|
/// <summary>
|
|
/// Don't export intrinsic function to C++.
|
|
/// </summary>
|
|
DoNotExport = 0x00004000,
|
|
/// <summary>
|
|
/// Function doesn't modify this object.
|
|
/// </summary>
|
|
Constant = 0x00008000,
|
|
/// <summary>
|
|
/// Return value is purely dependent on parameters; no state dependencies or internal state changes.
|
|
/// </summary>
|
|
Invariant = 0x00010000
|
|
}
|
|
}
|