namespace › { using ; using †; using System; using System.Text; internal class š { private int ; private int ; private int[] ; internal void () { using (“ “ = „..ž()) { this.[0] = “.("SELECT soundmachine_soundset FROM furniture WHERE soundmachine_machineid = '" + this. + "' AND soundmachine_slot = '1'"); this.[1] = “.("SELECT soundmachine_soundset FROM furniture WHERE soundmachine_machineid = '" + this. + "' AND soundmachine_slot = '2'"); this.[2] = “.("SELECT soundmachine_soundset FROM furniture WHERE soundmachine_machineid = '" + this. + "' AND soundmachine_slot = '3'"); this.[3] = “.("SELECT soundmachine_soundset FROM furniture WHERE soundmachine_machineid = '" + this. + "' AND soundmachine_slot = '4'"); } } internal void (int soundSetID, int slotID) { this.[slotID - 1] = soundSetID; using (“ “ = „..ž()) { “.‰(string.Concat(new object[] { "UPDATE furniture SET roomid = '-3',soundmachine_machineid = '", this., "',soundmachine_slot = '", slotID, "' WHERE ownerid = '", this., "' AND soundmachine_soundset = '", soundSetID, "' ORDER BY id ASC LIMIT 1" })); } } internal void (int slotID) { this.[slotID - 1] = 0; using (“ “ = „..ž()) { “.‰(string.Concat(new object[] { "UPDATE furniture SET roomid = '0',soundmachine_machineid = NULL,soundmachine_slot = NULL WHERE ownerid = '", this., "' AND soundmachine_machineid = '", this., "' AND soundmachine_slot = '", slotID, "' LIMIT 1" })); } } internal bool (int slotID) { return (this.[slotID - 1] == 0); } internal string () { int i = 0; StringBuilder builder = new StringBuilder(); for (int j = 0; j < 4; j++) { int num3 = this.[j]; if (num3 > 0) { builder.Append(œ.€(j + 1) + œ.€(num3) + "QB"); int num4 = (num3 * 9) - 8; for (int k = num4; k <= (num4 + 8); k++) { builder.Append(œ.€(k)); } i++; } } return ("PA" + œ.€(i) + builder.ToString()); } internal š(int machineID, int userID) { this. = machineID; this. = userID; this. = new int[4]; this.(); } } }