This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.mambo.core; | |
import com.google.common.collect.Lists; | |
import com.google.common.collect.Maps; | |
import com.google.inject.Inject; | |
import com.google.inject.Provider; | |
import com.google.inject.assistedinject.Assisted; | |
import org.junit.Test; | |
import java.lang.annotation.Annotation; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.mambo.protocol.client.io; | |
import java.math.BigInteger; | |
import java.nio.ByteBuffer; | |
import java.nio.CharBuffer; | |
import java.nio.charset.Charset; | |
/** | |
* Created with IntelliJ IDEA. | |
* User: Blackrush |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.mambo.protocol.client.io; | |
import java.math.BigInteger; | |
import java.nio.ByteBuffer; | |
import java.nio.charset.Charset; | |
/** | |
* Created with IntelliJ IDEA. | |
* User: Blackrush | |
* Date: 10/11/12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.shivas.core.config | |
import org.joda.time.Duration | |
import org.shivas.data.Containers | |
import org.shivas.data.entity.MapTemplate | |
import org.shivas.protocol.client.enums.FightTypeEnum | |
/** | |
* Created with IntelliJ IDEA. | |
* User: Blackrush |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.shivas.core.core.commands; | |
import org.shivas.common.params.Conditions; | |
import org.shivas.common.params.Parameters; | |
import org.shivas.common.params.Types; | |
import org.shivas.data.entity.ItemTemplate; | |
import org.shivas.protocol.client.formatters.ItemGameMessageFormatter; | |
import org.shivas.core.core.commands.types.ItemTemplateType; | |
import org.shivas.core.core.commands.types.PlayerType; | |
import org.shivas.core.core.logging.DofusLogger; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.shivas.core; | |
import junit.framework.TestCase; | |
import java.lang.annotation.*; | |
import java.lang.reflect.Field; | |
import java.util.*; | |
public class Test extends TestCase { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private List<Class<?>> getClasses(ClassLoader classLoader) throws ReflectiveOperationException { | |
Class<?> clazz = classLoader.getClass(); | |
while (clazz != ClassLoader.class) { | |
clazz = clazz.getSuperclass(); | |
} | |
Field field = clazz.getDeclaredField("classes"); | |
field.setAccessible(true); | |
return new ArrayList<Class<?>>((Collection<Class<?>>) field.get(classLoader)); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.shivas.core.core.castables.effects; | |
import org.shivas.common.random.Dice; | |
import org.shivas.common.statistics.CharacteristicType; | |
import org.shivas.common.statistics.Statistics; | |
import org.shivas.core.core.fights.Fight; | |
import org.shivas.core.core.fights.FightCell; | |
import org.shivas.core.core.fights.FightException; | |
import org.shivas.core.core.fights.Fighter; | |
import org.shivas.core.core.fights.events.FighterLifeUpdateEvent; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.shivas.data.converter; | |
import com.google.common.collect.Sets; | |
import junit.framework.TestCase; | |
import org.shivas.data.converter.loaders.AncestraLoader; | |
import org.shivas.data.converter.loaders.DataLoader; | |
import org.shivas.data.entity.SpellEffect; | |
import org.shivas.data.entity.SpellLevel; | |
import org.shivas.data.entity.SpellTemplate; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ABUSE_REASON_HPP | |
#define ABUSE_REASON_HPP | |
namespace Data | |
{ | |
class AbuseReason : public DataObject | |
{ | |
int _abuseReasonId() const | |
{ return this["_abuseReasonId"].Cast<int>(); } | |