static public int get_Gold(IntPtr l) { try { GameFrameworkMessage.Msg_LC_SyncRoleInfo self = (GameFrameworkMessage.Msg_LC_SyncRoleInfo)checkSelf(l); pushValue(l, true); pushValue(l, self.Gold); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int constructor(IntPtr l) { try { GameFrameworkMessage.Msg_LC_SyncRoleInfo o; o = new GameFrameworkMessage.Msg_LC_SyncRoleInfo(); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int set_Gold(IntPtr l) { try { GameFrameworkMessage.Msg_LC_SyncRoleInfo self = (GameFrameworkMessage.Msg_LC_SyncRoleInfo)checkSelf(l); int v; checkType(l, 2, out v); self.Gold = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }