Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (oldTag.IsInGroup("bink"))
- {
- var location = ((Bink)tagDefinition).Resource.GetLocation();
- var index = ((Bink)tagDefinition).Resource.Index;
- switch (location.ToString().ToLower())
- {
- case "audio":
- portAudio();
- break;
- case "resources":
- portResource();
- break;
- case "textures":
- portTexture();
- break;
- case "textures_b":
- portTexture_B();
- break;
- case "video":
- portVideo();
- break;
- default:
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement