Beispiel #1
0
 static public int get_Name(IntPtr l)
 {
     try {
         ProtoBuf.ProtoEnumAttribute self = (ProtoBuf.ProtoEnumAttribute)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.Name);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #2
0
 static public int constructor(IntPtr l)
 {
     try {
         ProtoBuf.ProtoEnumAttribute o;
         o = new ProtoBuf.ProtoEnumAttribute();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #3
0
 static public int HasValue(IntPtr l)
 {
     try {
         ProtoBuf.ProtoEnumAttribute self = (ProtoBuf.ProtoEnumAttribute)checkSelf(l);
         var ret = self.HasValue();
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #4
0
 static public int set_Name(IntPtr l)
 {
     try {
         ProtoBuf.ProtoEnumAttribute self = (ProtoBuf.ProtoEnumAttribute)checkSelf(l);
         string v;
         checkType(l, 2, out v);
         self.Name = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }