| 5949 | } |
| 5950 | |
| 5951 | std::string ASReadString(SavedChunk* chunk) { |
| 5952 | EntityDescriptionField* edf = chunk->desc.GetField(EDF_SCRIPT_PARAMS); |
| 5953 | LOG_ASSERT(edf); |
| 5954 | std::string str; |
| 5955 | edf->ReadString(&str); |
| 5956 | return str; |
| 5957 | } |
| 5958 | |
| 5959 | void AttachUndo(ASContext* context) { |
| 5960 | context->RegisterObjectType("SavedChunk", 0, asOBJ_REF | asOBJ_NOCOUNT); |
nothing calls this directly
no test coverage detected