mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-12 02:13:48 -04:00
Refactored Starter Clothing, Added CustomizationDelta, basework for Image Design
(Bug) Fixed hair and items on char create not being added to equip list (Code) Minor change to BuffBuilderMessage (Code) Added base work for Image Design (Code) Refactored how starter clothing is assigned (Code) Added delta for customization data on tangible objects (Code) Created ProfessionTemplateVisitor for profession template iff's
This commit is contained in:
@@ -150,6 +150,17 @@ public class TangibleMessageBuilder extends ObjectMessageBuilder {
|
||||
|
||||
}
|
||||
|
||||
public IoBuffer buildCustomizationDelta(byte[] customization) {
|
||||
IoBuffer buffer = bufferPool.allocate(customization.length, false).order(ByteOrder.LITTLE_ENDIAN);
|
||||
|
||||
buffer.put(customization);
|
||||
|
||||
int size = buffer.position();
|
||||
buffer.flip();
|
||||
buffer = createDelta("TANO", (byte) 3, (short) 1, (short) 6, buffer, size + 4);
|
||||
return buffer;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void sendListDelta(byte viewType, short updateType, IoBuffer buffer) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
Reference in New Issue
Block a user