![]() |
Oolite 1.91.0.7668-250429-8542c40
|
#include <ShipEntityLoadRestore.h>
Instance Methods | |
(NSDictionary *) | - savedShipDictionaryWithContext: |
(void) | - simplifyShipdata:andGetDeletes: [implementation] |
Class Methods | |
(id) | + shipRestoredFromDictionary:useFallback:context: |
Definition at line 31 of file ShipEntityLoadRestore.h.
- (NSDictionary *) savedShipDictionaryWithContext: | (NSMutableDictionary *) | context |
Extends class ShipEntity.
Definition at line 79 of file ShipEntityLoadRestore.m.
References AI::associatedJS, count, ShipEntity::equipmentEnumerator, ShipEntity::getAI, kIdentityQuaternion, kZeroHPVector, AI::name, nil, Entity::normalOrientation, Entity::position, ShipEntity::primaryRole, ShipEntity::roleSet, OORoleSet::roleString, and ShipEntity::simplifyShipdata:andGetDeletes:.
+ (id) shipRestoredFromDictionary: | (NSDictionary *) | dictionary | |
useFallback: | (BOOL) | fallback | |
context: | (NSMutableDictionary *) | context |
Extends class ShipEntity.
Definition at line 173 of file ShipEntityLoadRestore.m.
References ShipEntity::addEquipmentItem:withValidation:inContext:, GroupForGroupID(), KEY_EQUIPMENT, KEY_IS_GROUP_LEADER, KEY_MISSILES, OOShipGroup::leader, Entity::maxEnergy, nil, ShipEntity::removeAllEquipment, ShipEntity::removeMissiles, ShipEntity::setAITo:, Entity::setEnergy:, ShipEntity::setEscortGroup:, ShipEntity::setGroup:, OOShipGroup::setLeader:, OOShipGroup::setName:, Entity::setNormalOrientation:, ShipEntity::setOwner:, Entity::setPosition:, ShipEntity::setPrimaryRole:, OOShipRegistry::sharedRegistry, OOShipRegistry::shipInfoForKey:, and StripIgnoredKeys().
|
implementation |
Extends class ShipEntity.
Definition at line 264 of file ShipEntityLoadRestore.m.