View Single Post
Old 04-15-2008, 06:09 PM   #15 (permalink)
Killamus
Forum Expert
 
Join Date: Dec 2003
Location: Sitting in a chair fulfilling my life's goal
Age: 22
Posts: 2,650
Send a message via AIM to Killamus Send a message via MSN to Killamus
Default

Ok. So, that is how you'd do a pointer method in C#? So, if I wanted to write a pointer to a playermobile function, I'd have to do something like this:

Code:
public virtual void* OnResurrection(PlayerMobile player)
{
player.OnResurrection();
}
and that would be a pointer to the PlayerMobile OnResurrection function? Or would something like this have to be in the PlayerMobile class?

Also: lol@Microsoft still trying to tell programmers what to do... At least this is easy enough to get past.
__________________
Procrastinators unite!
Tomorrow.
Saying that Java is nice because it works on all OS's is like saying that anal sex is nice because it works on all genders.
Killamus is offline   Reply With Quote