public static LuaTestObj operator -(LuaTestObj a, int b) { LuaTestObj ret = new LuaTestObj(); ret.testVar = a.testVar - b; return(ret); }
public static LuaTestObj operator -(LuaTestObj a) { LuaTestObj ret = new LuaTestObj(); ret.testVar = a.testVar * (-1); return(ret); }
public static LuaTestObj operator +(int a, LuaTestObj b) { LuaTestObj ret = new LuaTestObj(); ret.testVar = a + b.testVar; return(ret); }
public static LuaTestObj operator %(LuaTestObj a, LuaTestObj b) { LuaTestObj ret = new LuaTestObj(); ret.testVar = a.testVar % b.testVar; return(ret); }