This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = ""; // name | |
picture = ""; // picture in expanded description | |
logoSmall = ""; // icon next to mod name when description is not expanded | |
logo = ""; // logo below game menu | |
logoOver = "" // on mouse hover over logo | |
tooltip = ""; // tool tip on mouse hover | |
overview = ""; // overview | |
action = "https://creativ3lab.com/"; // link | |
author = "Andrew Hjellming"; // author | |
version = "0.1"; // version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CfgMod | |
{ | |
class | |
{ | |
Dir = ""; | |
Picture = ""; | |
Author = ""; | |
Action = ""; | |
HideName = ""; | |
HidePicture = ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string str="global scope"; | |
void main() | |
{ | |
string str="main scope"; | |
if (true){ | |
string str="if scope"; | |
cout << str << endl; | |
} | |
cout << str << endl; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int foo = 42; // Value type. | |
object bar = foo; // foo is boxed to bar. | |
int foo2 = (int)bar; // Unboxed back to value type. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyCustomClass(){} | |
void Method() | |
{ | |
auto variableName = 1; // variableName will be of type integer | |
auto variablePi = 3.14; // variablePi will be of type float | |
auto variableInst = new MyCustomClass(); // variableInst will be of type MyCustomClass | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
#pragma "(ReplacewithFilename)" | |
*/ | |
#include "(ReplacewithFilename)\4_World\(ReplacewithFilename)\(ReplacewithFilename)" |