About Store Forum Documentation Contact



Post Reply 
[solved] Storing UID for future use
Author Message
Azriel Offline
Member

Post: #1
[solved] Storing UID for future use
It's me again wink
Code:
class A
{
   soundId; //(what type to use?)

   void setSoundId(const UID & id)
   {
       soundId=id;
   }

   void playSound()
   {
     SoundPlay(soundId);
    }
}
That's more or less what I want to achieve. Could someone help me with this?
(This post was last modified: 11-19-2015 09:33 AM by Azriel.)
11-18-2015 02:07 PM
Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #2
RE: Storing UID for future use
Type: UID? pfft
11-18-2015 05:12 PM
Find all posts by this user Quote this message in a reply
Azriel Offline
Member

Post: #3
RE: Storing UID for future use
So there's no need for pointers and stuff like that?
11-18-2015 08:37 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Storing UID for future use
Please use UID, it's the way to go.
11-18-2015 10:38 PM
Find all posts by this user Quote this message in a reply
Post Reply