project/Environment: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
m (Created page with 'Regarding OpenKore 2.x. Environment is a wall between real network stuff and everything other (AI, user, AI-level and user-level plugins). Environment should have common not-RO…')
 
mNo edit summary
Line 46: Line 46:
<td></td>
<td></td>
<td>sendEquip</td>
<td>sendEquip</td>
<td></td>
<td>sendAddSkillPoint</td>
</tr>
</tr>
<tr>
<tr>

Revision as of 21:57, 20 June 2010

Regarding OpenKore 2.x.

Environment is a wall between real network stuff and everything other (AI, user, AI-level and user-level plugins).

Environment should have common not-RO binded concepts with common interfaces, such as Actor, ActorList, Field; and network-dependent implementations.

Overview of current situation

Pattern Actor::You Actor::Slave Actor::Player Actor::Item Skill
Controllable->move sendMove sendHomunculusMove
Actor->use ActorList->merge sendArrowCraft sendCardMergeRequest sendCardMerge sendProduceMix sendIdentify sendItemUse sendPetHatch sendCooking sendWeaponRefine sendAutoSpell sendSkillUse
Controllable->attack sendAction sendHomunculusAttack
Controllable->action sendAction sendChat sendEmotion sendHomunculusCommand sendHomunculusStandBy [sendPetMenu] sendMercenaryCommand sendEquip sendAddSkillPoint
Actor->moveToList ActorList->moveToList sendFriendRequest sendGuildJoinRequest sendPartyJoinRequest sendBuyBulk sendBuyBulkVender sendCartAdd/Get sendSell sendStorageAdd/FromCart/Get/ToCart sendDrop sendTake
Actor->delete ActorList->remove sendHomunculusCommand sendMercenaryCommand sendFriendRemove sendGuildLeave sendGuildMemberKick sendGuildBreak sendPartyKick
ActorList->delete sendCompanionRelease sendStorageClose