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

Class GenCodeStruct

Test/UnitTest/xLuaTest/LuaTestObj.cs:1051–1158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1049}
1050
1051[LuaCallCSharp]
1052public struct GenCodeStruct:IGenCodeTest{
1053
1054 private byte byte_var;
1055 private short short_var;
1056 private ushort ushort_var;
1057 private int int_var1;
1058 private int int_var2;
1059 private uint uint_var;
1060 private long long_var;
1061 private ulong ulong_var;
1062 private double double_var;
1063 private float float_var;
1064 private char char_var;
1065 private decimal decimal_var;
1066 private string string_var;
1067
1068 public byte Byte
1069 {
1070 get { return byte_var; }
1071 set { byte_var = value; }
1072 }
1073
1074 public short Short
1075 {
1076 get { return short_var; }
1077 set { short_var = value; }
1078 }
1079
1080 public ushort UShort
1081 {
1082 get { return ushort_var; }
1083 set { ushort_var = value; }
1084 }
1085
1086 public int IntVar1
1087 {
1088 get { return int_var1; }
1089 set { int_var1 = value; }
1090 }
1091
1092 public int IntVar2
1093 {
1094 get { return int_var2; }
1095 set { int_var2 = value; }
1096 }
1097
1098 public uint UInt
1099 {
1100 get { return uint_var; }
1101 set { uint_var = value; }
1102 }
1103
1104 public long Long
1105 {
1106 get { return long_var; }
1107 set { long_var = value; }
1108 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected