Jump to content
  • 0

question about some source


PewN

Question


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

what is the difference between sd and fd>

and what is the use of sd->

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  410
  • Reputation:   29
  • Joined:  04/04/12
  • Last Seen:  

SD refers to the map session data.

When you use sd-> you are referring to an element inside of the sd struct.

 

Example

 

if( sd->skillvarcast.id == skill_id )

 

skillvarcast.id is part of sd.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

SD refers to the map session data.

When you use sd-> you are referring to an element inside of the sd struct.

 

Example

 

if( sd->skillvarcast.id == skill_id )

 

skillvarcast.id is part of sd.

ok oh what is fd? and how to use it

Edited by TrojanWorm
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...