11 #define CPLUSPLUS_ONLY
15 class bdiPatchIdentifier;
66 void set_from_string(
const char* patch_id_str );
70 const char* get_as_string()
const;
75 void set_country(
unsigned short country );
76 unsigned short get_country()
const;
78 void set_service(
unsigned char service );
79 unsigned char get_service()
const;
81 void set_patch(
unsigned short patch );
82 unsigned short get_patch()
const;
98 const bdiPatchIdentifier* get_scripted_object()
const {
return m_scripted_object; }
106 bdiPatchIdentifier* m_scripted_object;
107 bool m_own_scripted_object;
109 friend class bdiPatchIdentifier;
This class represents the patch identifier (country:service:id) for a patch.
Definition: diguyPatchIdentifier.h:26
const bdiPatchIdentifier * get_scripted_object() const
Definition: diguyPatchIdentifier.h:97