Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
Friend Class Reference

Detailed Description

Attribute allows other classes to access protected methods. Can be added on specific method or whole class.

[Friend(ClassB)]
class ClassA
{
static protected void MethodA()
{
}
[Friend(ClassC)]
static protected void MethodB()
{
}
}
class ClassB
{
static void Do()
{
ClassA.MethodA();
ClassA.MethodB();
}
}
class ClassC
{
static void Do()
{
ClassA.MethodB();
}
}

Definition at line 47 of file Friend.c.


The documentation for this class was generated from the following file:
  • scripts/Core/generated/Attributes/Friend.c