Difference between revisions of "PlayerEmote (0000012E)"
From SWGANH Wiki
(→Struct) |
|||
(28 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{PageHeader|Object Controller|PlayerEmote (0000012E)}} | |
− | + | ||
{| border="0" width="90%" cellpadding=6 | {| border="0" width="90%" cellpadding=6 | ||
|- | |- | ||
Line 6: | Line 5: | ||
===Struct=== | ===Struct=== | ||
---- | ---- | ||
− | + | {| align="center" | |
+ | |- | ||
+ | || | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 19: | Line 20: | ||
|{{short}}|{{unknown}} | |{{short}}|{{unknown}} | ||
|} | |} | ||
+ | |} | ||
+ | |||
+ | |||
===Variable Descriptions=== | ===Variable Descriptions=== | ||
Line 25: | Line 29: | ||
---- | ---- | ||
*NOTE: The first ID in the OBJ needs to be the ID of the object receiving the packet (recipID). | *NOTE: The first ID in the OBJ needs to be the ID of the object receiving the packet (recipID). | ||
− | * Source ID = ID of the player performing the | + | * Source ID = ID of the player performing the emote |
* Receiver ID = ID of the player the emote is being performed upon | * Receiver ID = ID of the player the emote is being performed upon | ||
* Emote ID = # associated with the desired emote | * Emote ID = # associated with the desired emote | ||
Line 31: | Line 35: | ||
|valign=top| | |valign=top| | ||
+ | |||
===Tags=== | ===Tags=== | ||
---- | ---- | ||
Line 43: | Line 48: | ||
|} | |} | ||
− | + | <pre> | |
− | + | ||
===Example Code=== | ===Example Code=== | ||
packet << (uint16)5; | packet << (uint16)5; | ||
Line 57: | Line 61: | ||
packet << (uint8)0; | packet << (uint8)0; | ||
packet << (uint16)0x0300; | packet << (uint16)0x0300; | ||
+ | |||
+ | </pre> | ||
+ | |||
+ | |||
+ | ===Struct=== | ||
+ | ---- | ||
+ | {| align="Center" | ||
+ | |- | ||
+ | || | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | |{{long}}|'''Source ID''' | ||
+ | |- | ||
+ | |{{long}}|'''Receiver ID''' | ||
+ | |- | ||
+ | |{{Int}}|'''emote ID''' | ||
+ | |- | ||
+ | |{{Short}}|'''Flag''' | ||
+ | |} | ||
+ | |} | ||
+ | |||
+ | |||
+ | THIS STRUCT MAY RELATE TO ONLY NGE | ||
+ | cable@projectswg | ||
+ | |||
+ | |||
+ | <pre> | ||
+ | |||
+ | 05 00 #Operand | ||
+ | 46 5E CE 80 #ObjController | ||
+ | 0B 00 00 00 # | ||
+ | 2E 01 00 00 #ControllerType: SocialEmoteReceive | ||
+ | CA 16 09 91 45 00 00 00 #CharacterID | ||
+ | 00 00 00 00 #Unknown INT | ||
+ | CA 16 09 91 45 00 00 00 #SenderID | ||
+ | CA 16 09 91 45 00 00 00 #ReceiverID | ||
+ | 6F 01 00 00 #EmoteType | ||
+ | 03 #Flag | ||
+ | |||
+ | </pre> |
Latest revision as of 17:23, 12 September 2013
Object Controller - PlayerEmote (0000012E)
SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.
Struct
Variable DescriptionscontrollerID = 0000012E
|
Tags
|
===Example Code=== packet << (uint16)5; packet.opcode2(ObjController); packet << (uint32)0xB; packet << (uint32)0x012E; packet << (uint64)recip; //recipient packet << (uint32)0; //unkown packet << (uint64)sender->ObjID; //source packet << (uint64)sender->Target; //This is normally the target... packet << emoteId; //ID packet << (uint8)0; packet << (uint16)0x0300;
Struct
|
THIS STRUCT MAY RELATE TO ONLY NGE
cable@projectswg
05 00 #Operand 46 5E CE 80 #ObjController 0B 00 00 00 # 2E 01 00 00 #ControllerType: SocialEmoteReceive CA 16 09 91 45 00 00 00 #CharacterID 00 00 00 00 #Unknown INT CA 16 09 91 45 00 00 00 #SenderID CA 16 09 91 45 00 00 00 #ReceiverID 6F 01 00 00 #EmoteType 03 #Flag