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

Class ClassLuaCallCS

Test/PrefTest/xLuaPerfTest/PerfMain.cs:401–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399}
400
401[LuaCallCSharp]
402public class ClassLuaCallCS
403{
404 public int[] array = new int[5];
405
406 [LuaCallCSharp]
407 public enum LuaEnum
408 {
409 ONE,
410 TWO,
411 THREE,
412 FOUR,
413 FIVE
414 };
415
416 public LuaEnum enumParam;
417
418
419 public event BaseParaEventHandler BaseParaEvent;
420 public event ClassParaEventHandler ClassParaEvent;
421 public event StructParaEventHandler StructParaEvent;
422 public event Vec3ParamEventHandler Vec3ParaEvent;
423 public event NullEventHandler NullEvent;
424
425 public int id;
426 public ParaClass paraClass = new ParaClass ();
427 public ParaStruct paraStruct = new ParaStruct();
428 public Vector3 vec3Member;
429
430 public void funcBaseParam(int x)
431 {}
432
433 public void funcClassParam(ParaClass x)
434 {}
435
436 public void funcStructParam(ParaStruct x)
437 {}
438
439 public void funcVec3Param(Vector3 x)
440 {}
441
442 public void funcInParam(ref int x)
443 {}
444
445 public void funcOutParam(out int x)
446 {
447 x = 0;
448 }
449
450 public void funcInOutParam(ref int x, out int y)
451 {
452 y = 0;
453 }
454
455 public void funcTwoParam(int x, int y)
456 {
457 }
458

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected