2019-12-25 12:43:45 -08:00
|
|
|
//using Squarf;
|
|
|
|
|
2019-09-21 10:49:35 -07:00
|
|
|
//GORB
|
|
|
|
#pragma warning disable 168
|
|
|
|
|
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Diagnostics;
|
|
|
|
using System.Threading;
|
|
|
|
|
2020-01-06 13:49:35 -08:00
|
|
|
#region EnumA Crapsos
|
2019-12-25 16:38:17 -08:00
|
|
|
[AllowDuplicates]
|
2019-12-25 12:43:45 -08:00
|
|
|
enum EnumA
|
|
|
|
{
|
|
|
|
Abo = 1,
|
|
|
|
Boop = _*2,
|
|
|
|
Croop = _*2,
|
2019-12-25 16:38:17 -08:00
|
|
|
|
|
|
|
Zoop = 1
|
2019-12-25 12:43:45 -08:00
|
|
|
}
|
|
|
|
|
2020-01-06 13:49:35 -08:00
|
|
|
struct StructA
|
|
|
|
{
|
|
|
|
public int mA;
|
|
|
|
public int mB;
|
|
|
|
}
|
|
|
|
|
|
|
|
#region Blurg
|
2019-10-09 16:20:09 -07:00
|
|
|
struct Blurg
|
2019-09-29 07:44:39 -07:00
|
|
|
{
|
2020-01-06 13:49:35 -08:00
|
|
|
static mixin MixA(var sa2)
|
|
|
|
{
|
|
|
|
sa2.mA++;
|
|
|
|
}
|
|
|
|
|
|
|
|
static mixin MixB(mut StructA sa2)
|
|
|
|
{
|
|
|
|
sa2.mA++;
|
|
|
|
}
|
|
|
|
|
|
|
|
static void MethodA(mut StructA sa)
|
|
|
|
{
|
|
|
|
MixA!(sa);
|
|
|
|
//MixB!(mut sa);
|
|
|
|
}
|
|
|
|
|
2019-12-13 14:25:15 -08:00
|
|
|
public static int32 Hey()
|
2019-12-11 16:56:09 -08:00
|
|
|
{
|
2020-01-06 13:49:35 -08:00
|
|
|
StructA sa = .();
|
|
|
|
sa.mA = 123
|
2019-12-21 05:48:44 -08:00
|
|
|
|
2020-01-15 08:31:34 -08:00
|
|
|
|
2019-12-13 14:25:15 -08:00
|
|
|
return (int32)123;
|
2019-12-11 16:56:09 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|