/* */ public int getAvailableDist() { /* 80 */ int i = 0; /* 81 */ for (PointEffect localPointEffect : this.effects) { /* 82 */ i += localPointEffect.getDistribution(); /* */ } /* */ /* 86 */ return 100 - i; /* */ }
/* */ public void sendDistChange(PointEffect paramPointEffect) { /* 229 */ if (getId() == null) { /* 230 */ if (!$assertionsDisabled) throw new AssertionError(); /* 231 */ throw new NullPointerException("PointDistribution] Could Not load ID POS"); /* */ } /* */ /* 234 */ RemoteIntArrayBuffer localRemoteIntArrayBuffer = ((DistributionInterface)getController().getNetworkObject()).getDistributionModification(); /* 235 */ RemoteIntArray localRemoteIntArray = new RemoteIntArray(9, getController().getNetworkObject()); /* 236 */ q localq1 = getId().a(new q()); /* 237 */ q localq2 = ((ControlBlockElementCollectionManager)this.col).getControllerPos(); /* */ /* 239 */ localRemoteIntArray.set(0, localq2.a); /* 240 */ localRemoteIntArray.set(1, localq2.b); /* 241 */ localRemoteIntArray.set(2, localq2.c); /* */ /* 243 */ localRemoteIntArray.set(3, localq1.a); /* 244 */ localRemoteIntArray.set(4, localq1.b); /* 245 */ localRemoteIntArray.set(5, localq1.c); /* */ /* 247 */ localRemoteIntArray.set(6, paramPointEffect.getEffectId()); /* 248 */ localRemoteIntArray.set(7, paramPointEffect.getDistribution()); /* 249 */ localRemoteIntArray.set(8, getController().getState().getId()); /* 250 */ localRemoteIntArrayBuffer.add(localRemoteIntArray); /* */ }