Remake CustomSkinLoader

Support 1.7.10 first
This commit is contained in:
Alexander Xia committed 2016-02-27 15:22:35 +08:00
1 parent e9926cb292
commit 17c6bfad5f
71 files changed
+659 -6722

No files matched your search

+43
View File
@@ -0,0 +1,43 @@
package customskinloader;
/**The instance to storage user's profile in memory temporarily.
* In this manner, it could be easier to pass profile in program.
* @since 13.1
*/
public class UserProfile {
/**
* Direct url for skin.
* @since 13.1
*/
public String skinUrl=null;
/**
* Model for skin.
* default/slim
* @since 13.1
*/
public String model=null;
/**
* Direct url for cape.
* @since 13.1
*/
public String capeUrl=null;
/**
* Get parsed String to output the instance.
*/
@Override
public String toString(){
return "(SkinUrl: "+skinUrl+" , Model: "+model+" , CapeUrl: "+capeUrl+")";
}
/**
* Check if the instance is empty.
* @return status (true - empty)
*/
public boolean isEmpty(){
return skinUrl==null && model==null && capeUrl==null;
}
}