MCPcopy Create free account
hub / github.com/Tencent/xLua / Add

Method Add

Test/UnitTest/xLuaTest/LuaTestObj.cs:1749–1752  ·  view source on GitHub ↗
(this Employeestruct i, Employeestruct d)

Source from the content-addressed store, hash-verified

1747 }
1748
1749 public static int Add(this Employeestruct i, Employeestruct d)
1750 {
1751 return i.Salary * 12 + i.AnnualBonus + d.Salary * 12 + d.AnnualBonus;
1752 }
1753
1754 public static void Sub(this Employeestruct i, Employeestruct d, out Employeestruct e, ref Employeestruct a)
1755 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected