Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void struct_Input (desires_maul *d_maul, int index, string s_input){
- switch(index){
- case 0 : d_maul -> WeaponDMGHigh = s_input ; break;
- case 1 : ...
- }
- }
- //Call example : struct_input(d_maul, 0, "over 9000"); <This will do d_maul.WeaponDMGHigh = over 9000;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement